BV During 1st trimester

I’m currently 7 weeks pregnant and have a yeast infection and BV. I’m supposed to start treatment for BV with antibiotics but I’m scared it’ll affect my pregnancy. Is this likely to happen?