You can prevent urethritis caused by STIs by using a condom Condoms Barrier contraceptives physically block the sperm’s access to a woman’s uterus. They include condoms, diaphragms, cervical caps, contraceptive gels, contraceptive sponges, and spermicides (foams... read more during sex.