How to get rid of UTIs ?

I get UTIs often, the doctor said it's most likely a factor of another health issue I have that makes my immune system succeptable to UTIs. 
My question :
Is there a natural way to prevent and get rid of them? My body has become immune to one of the anyibiotics already, and I get them regularly. 
I follow all of the proper procedures to not get them but I still do. (Cleanliness, clean underwear, peeing after sex every single time, wiping front to back) etc. 
I take these cranberry pills, I drink water, what else can I do?

Glow Resources

Let’s Glow

Glow is here for you on your path to pregnancy

Glow helps you navigate your fertility journey with smart tools, personalized insights, and guidance from medical experts who understand what matters most.

25+ million

Users

4.8 stars

200k+ app ratings

20+

Medical advisors