When infections keep coming back, sometimes your partner needs to be tested too.
If you have recurrent genital infections or a sexually transmitted infection, testing your partner (with cultures and STI tests, and in men also assessing possible prostatitis) stops the cycle of reinfection.
Treating both of you at the same time is often the missing piece.