There are many ways to lower your chances of a UTI:

Taking medicines

In some people, UTIs tend to come back. Your doctor may have you take a small daily dose of an antibiotic. Or, if you tend to have UTIs after having sex, you might be advised to take a dose of antibiotic just before or after. Many types can be taken as a small dose.

Drink a lot of water

Drinking plenty of water (about eight 8-ounce glasses each day) may help flush out your urinary system and wash out bacteria.

Take a shower

Sitting in bath water (mainly in soapy bath water) may cause irritation. This could make you more prone to infection. Try not to use perfumed products, bubble baths, douches, or feminine sprays.

Always wipe from front to back

Women should wipe with care after passing urine or having a bowel movement. Start wiping by the labia and stop at the anus. This way, you will not soil your urethral or vaginal area with bacteria from your anus.

Urinate often and completely

Try not to hold your urine. When you feel the need go to the bathroom, do so. Take your time to be sure that you fully drain your bladder.

Take special care after sex

After having sex, pass urine and drink an 8-ounce glass of water. This can help flush out bacteria that may have been forced into the urethra.

Wear cotton underwear

Cotton underwear is more absorbent than man-made fibers. It also wicks moisture away from your skin. Nylon and polyester trap moisture. Moisture helps bacteria (and yeast) grow. This can lead to infections.