Terrified. Infection while pregnant

Has anyone had bv during pregnancy. I’ve been fighting this infection for awhile now and the antibiotics aren’t working. I recently found out that I’m pregnant and my doctor prescribed me stronger antibiotics to take but told me she didn’t know if they are safe during the first trimester. I’m beyond terrified. I have a weird strain of this infection I’ve been fighting since December. I don’t want to cause any harm to my baby idk why to do. I’ve been crying like a baby I’m beyond terrified.