Reduce risk of UTI

Courtney
What's the best way to reduce the risk of getting a uti I ended up in hospital with a really bad one just before Christmas and don't ever want one again. (I'm new to the whole sex thing)