Help please

I had sex with my boyfriend and the condom broke. I am on the pill but I am still worried that I could possibly be pregnant and it freaks me out. We had sex about 10 days ago and I started spotting about 6 days after we had sex and I have had spotting ever since. My period is supposed to be here in a couple days but I am still really worried.  I am 17 and we have been together over a year.