Doctors visit advice

I was just called by my doc. I was having some burning itch issues and i have bacterial vaginosis and a yeast infection. Both at once. Now i need antibiotics for both.. Will this effect TTC