pull out plus pill

I had sex with my man and he pulled out he wasn't even close to nutting and I'm on the pill. How effective is it and should I be worried