BV diagnosis

I’ve never bad BV before and will be getting Metronidazole the pills , for treatment. Does it actually work? Last time the doctor gave me something for Yeast and i didnt have a yeast infection