help please tmi maybe

I'm 9w5d and Doctor said baby has been trying to miscarry for a few weeks (basically my entire pregnancy) I showered, went to eat, and came home with my clean panties looking like this. It's brownish pink and smells.... Acidic? I think. What could this be