Why’s my discharge this colour? Is there something wrong?

I’ve had it since early March then spotted for like 3 days had one day of what I thought was a period and spotted for 2 more days.... should I take a pregnancy test? There’s a chance but idk if that was my period or not