Pill??

I've been on the pill for about 4 months and my period has been regular and I only spotted a day or 2 before my period. I'm not supposed to get my period until next Tuesday and I just got it today. I had sex a little over 2 weeks ago and we didn't use a condom and he came inside me. Any ideas on what's going on??