UTI advice.

Can someone please give me advice on how to prevent UTIs? I can't drink cranberry juice. Makes me sick to my stomach. I was wondering if those vitamins actually work?? Idk.