BV while pregnant?

Just found out I have bacterial vaginosis again. I am currently 9 weeks pregnant and doctor prescribed me oral antibiotics. Has anyone taken medication while pregnant and have a healthy pregnancy??