I experience something similar too at week 20. First started with spotting of blood and then it turn brown. Went to see my gynae, he say because my placenta is quite low thats why bleed. And after scanning baby is fine. My gynae mentioned that the brown discharge is old blood. So will get lesser and lesser as after few days. If it doesn't get lesser or you start to spot bright blood discharge then need to see doc again.