Weird discharge?- early symptoms?

I've had this kind of discharge and brownish stains on my panties for a few days now. I have a very irregular period so I have a hard time tracking but my last one was around 2 months ago. I've had mild nausea the last few days. Should I buy a pregnancy test or get this looked at?