Pregnant with BV

So I'm 5w1d & ive been diagnosed with bacterial vaginosis. My discharge was brownish in color and went from a weird smell to smelling like poop. (Srry if TMI). My dr gave me some antibotics but I read the medication can lead to miscarriage. Has this ever happen to anyone before? Should I take the meds? Please help....