Please just ease my mind!

Hey, I've been on the pill for 2 weeks now, and missed a few, on Friday I missed one then stupidly had unprotected sex. Saturday I took my pill as normal. Sunday morning I started spotting, and now this morning it's really really heavy and leaked through my pjays! How have I been able to bleed even though I'm on the pill? And could I still get pregnant ?? Thanks