Can I get pregnant

I been on the pill for two months and my boyfriend came inside by the way I never missed a pill I’m kinda worried