Pregnant?

So my boyfriend and I were having sex and he was going in raw and he was about to cum so he pulled out and came but we don’t know if any got inside me... could I be pregnant even if I’m on the pill?