Another UTI😭😭😭

I keep getting UTI’s in my pregnancy I’m 25 weeks tomorrow so I’m only a few weeks away from the 3rd trimester. The antibiotics they give me say I can’t use them in the 3rd trimester what if I get another after this 😭😭 so frustrating pregnancy is hard enough let along having constant infections.