Has anyone taken Flagyl or the generic version is Metronidazole 500mg 2 times a day while pregnant durning the first trimester for Bacterial Vagionisis?

Was your baby fine? I'm 7.5 weeks and just get worried but have to get rid of the infection too! Help please!