Scared

I had sex 2-3 weeks ago, unprotected/ protected because we put the condom on half way. I took a contraceptive right after but he did cum inside of me. It is now 2-3 weeks after and I’m supposed to get my period in 8 days. My boobs are very sore and I’m scared if I may have slipped up or it’s just my period coming.