What is this?

I finished my period 2 weeks ago and right after I started spotting, it was a browny colour but sometimes quite red, what could this be?