TTC AND ANTIBIOTICS

I have chronic UTIs where I get them constantly, well, we're ttc and I have been prescribed an antibiotic. I ovulate in a couple days. Will the antibiotics prevent me from getting pregnant?