1. Use correct bathroom hygiene: It is amazing that something so simple can go such a long way. Wiping from front to back instead of back to front will greatly minimize the chance of getting infection from anal bacteria. Urinating soon after sexual intercourse will flush out any bacteria that may have entered the urethra. Washing daily with plain water and wearing cotton underwear will keep the genitals clean and dry, making the environment unsuitable for bacteria to thrive in.