Metronidazole during first trimester 🤔

Bri

My doctor prescribed metronidazole(flagyl) to treat me for vaginosis. I'm currently 5 weeks pregnant, have any of you ladies taken this antibiotic I just wonna be sure it's safe even though I'm sure if it wasn't they wouldn't have prescribed it. Thanks in advance 😊