Recurring UTI and sex

I’m at my wits end. When I first had sex with my bf, more than a year ago, I got a UTI. It was pretty bad, and I had a lot of blood in my pee along with all the other UTI symptoms. Went to the doctor and it cleared up so I figured it was just because it was a new partner etc. But since then, I have lost count of the amount of UTIs I have had u til now...it feels more like I have had a UTI for over a year with symptoms that flare up and down constantly.

I have been on antibiotics which help a little bit I always comes back. We are both clean, we use a condom which I have never had issues with. We don’t do anal at all. I wipe front to back...I have no idea why this is still going on.

Currently I’m on a 3 month course of antiobiotics for it. I’m on the second month and I still have symptoms! I’m even trying no sex for a while to see if it helps. Seems to help a little but it’s still there. Had sex the their day which seemed to make it worse again.

Does anyone have any other suggestions? Also tried those little cranberry sachets. Changed my soap for ph balanced wash.

I cant just not have sex!!