Can precum get you pregnant?

I had unprotected sex with my boyfriend but I am on the pill and he still pulled out but I am just wondering just in case.