birth control

I've been on birth control for 4 years I stopped taking it for 2 months for medical reasons I started taking it again I missed 4 pills the week before my period because I was out of town and forgot it had my period and now I started taking my new pack and I'm 4 days In and had sex without a condom what is the chance my birth control was still protecting me?