UTIs!!

I tend to get UTIs a lot about every 6 months I don’t know why I take care of myself I pee after sex drink lots of water and take cranberry pills is there anything else I could be doing?