BV medication while pregnant

For the ladies who have gotten a BV while pregnant did any take it during the first trimester? Did your doctor told you to take it towards the end of your first trimester? Or it didn’t matter?