To help prevent urinary tract infections:
Drink several glasses of water each day. Fluids discourage the growth of bacteria by flushing out your urinary tract. Drinking cranberry juice may deter bacterial growth by decreasing the ability of bacteria to stick to the urethra.
Wipe from front to back. To prevent the spread of intestinal bacteria from the rectum to the urinary tract, women always should wipe toilet tissue from front to the back after having a bowel movement.
Decrease the spread of bacteria during sex. Urinate after sexual intercourse to flush bacteria from your urethra. If you keep getting infections, you should talk to your doctor about using antibiotics after sex to lower the risk of developing urinary tract infections.