Am I pregnant??

So my last period I only had a little bit of blood or spots. Me and my boyfriend have had sex but I'm on the pill and he has never came in me, other than maybe pre cum. Could I be pregnant if I had my period but it was just spots?