Should I take a pregnancy test?

So my period ended on the 16th of last month but I have been cramping since then and I been feeling really bloated then yesterday I started bleeding but it was brown and pinkish this has never happened to me before. I have been trying to get pregnant for a couple of months now should I take a pregnancy test?