Here’s an idea: celebacy before marriage and monogamy after. That should prevent infection.
Works every time.