birth control effectiveness

ive been on birth control for almost a month but ive had unprotected sex. he didn’t cum inside me, but i know there was definitely precum. i think i should be okay because the package said it was effective after a week. is that true? i havent missed any pills and he pulled out, what are the chances of getting pregnant after only being on the pill for a couple weeks?