Hi, it appears that you are having some infection, so the friction might be causing the brown discharge. Anemia
also can cause such discharge. Any how it is better to consult a gynecologist for diagnosis and treatment.
I advise you to take more of green leafy vegetables , pulses, sprouts, and protein rich foods. Thank you.