Sex is not contraindicated during urinary tract infection as it’s not contagious. Treating the infection before having sex is recommended as vaginal penetration may increase the pain and worsen the symptoms.