Cranberry juice/supplements are probably the best way to prevent urinary tract infections.
Not the juice, if you’re drinking Ocean Spray. That’s full of corn syrup. You’re better off with dried cranberries or the powder in capsules.