What is this?

I keep getting this brown substance on my underwear? It’s not a period, I take the pill religiously and this has never happened before? What is it?