Worried at 22 weeks!

Stefani
Has anyone had scary brown discharge this far along? Last time this happened to me, a week later I miscarried but I was only at 6 weeks. Calling the doctor today, but I wanted to see you all have dealt with a similar situation and what it was. TIA.