I'm very confused rn... I have a uti and I ovulate in 3 days???

Is it normal to get a uti around the time of ovulation? I been having that problem lately. I only had sex 3 times this entire month. So I don't understand what I'm personally doing wrong. And if I have a uti would it stop me from possibly getting pregnant?