Unprotected sex and spotting

I had unprotected sex 6 days ago. Started cramping yesterday and started spotting and then needed a tampon but just a light one and am just spotting today. My period is due this week though. My cycle is fairly regular and is normally heavy. I’ll take a test in a couple weeks just to calm my nerves but was just wondering if anyone had any thoughts on this.