Can I get pregnant?

I gave my boyfriend oral sex and he came, about half hour later or less, we had unprotected sex. He says he had a little bit of pre-cum, can i get pregnant or should I take the pill just in case? P.S I will most likely be getting my period within the next few days.