UTI while TTC??!!

Has anyone ever gotten a UTI while TTC?? If so, did it affect fertility? Did you get antibiotics before you tested after the two week wait??