Spotting…

So I spotted for a couple of days. Bright red first then light pink. Had sex and haven’t spotted since, which was 4 days ago. I should’ve started my period 2 days ago if I go by my <a href="https://play.google.com/store/apps/details?id=com.glow.android.eve">Eve</a> tracker. But my period is very irregular. I do feel crampish but they don’t last long. Should I take a pregnancy test to be sure? My partner is my only partner. We did have sex after my last period.