Spotting...

I've had unprotected sex twice in the past month and a half. I was having cravings not too long but not anymore. back is killing me and I've been spotting since Sunday morning. My period is due at the end of this week. Idk if I should test or just wait for my period....what do y'all think??