Birth control question

So I just had sex with my boyfriend without a condom but twice this month I forgot to take my pill before bed and I took it the next morning, am I going to get pregnant? Anyone else done something similar and not get pregnant?