• Drink plenty of water.—Make sure that you drink at least eight 8-ounce glasses of water per day. Drinking plenty of water can help flush the bacteria out of your urinary system. It also helps flush the antibiotics through your system. Drinking cranberry juice or taking cranberry tablets has been shown to help prevent UTI.
  • Do not hold it.—When you feel the urge to urinate, do so as soon as possible. Holding back on urination may cause an increase in bacterial growth in the urinary tract. In addition, urinate before and after sexual intercourse.

Other steps to keep bacteria out of your urinary tract include:

  • Empty your bladder completely and drink a full glass of water after having sex.
  • Wash genitals daily.
  • Women should wipe from front to back after a bowel movement.
  • Avoid using douches and feminine hygiene sprays.