CONFUSED!!!

So i got my period late but when i got it , it last for 5 days the next day i had. Sex with my boyfriend. 2 days later i started spotting for 4 days then it just stopped... But now i have pains in abdomen and feel kinda nauseuos at times. My period isnt due for another week and a half