Period question

Hey guys so I had sex on the weeknd(protected) and there was blood then Sunday morning I was spottinf and it stopped. Monday I had sex again blood spotted and now it has stopped... I'm due for my period and I have cramps what's going on?