Confused😰😳🤒

Okay so I'm really confused.. I just got off a period the 1st. The 9th I started having cramping and spotting. The cramping is mild and on and off. It's still going on. I have had my period since I was 14 and I never had anything like this. I am also very bloated, lost my appetite, and had frequent headaches. Last night I was dizzy. I have had unprotected sex almost everyday before and after my period. Any ideas?

Could I test while spotting or would I have to wait till it stops?

It's more pink in person