Many simple lifestyle changes can help prevent UTIs. Frequent exercise and drinking lots of water tend to have long-term benefits beyond preventing UTIs and should be a regular part of any healthy lifestyle. Additionally, always wash genitals before and after sex to prevent shared bacteria from entering the urethra.
People with vaginas, in particular, should urinate after sex to flush out any bacteria. Make sure to wash the rectum regularly to limit the spread of infectious material.

This site offers information designed for educational purposes only. You should not rely on any information on this site as a substitute for professional medical advice, diagnosis, treatment, or as a substitute for, professional counseling care, advice, diagnosis, or treatment. If you have any concerns or questions about your health, you should always consult with a physician or other healthcare professional.