The text plays on the double meaning of 'curable'. Typically, 'curable' refers to diseases or conditions that can be treated, implying that virginity is a condition needing treatment. It also humorously suggests that virginity can be 'cured' or lost if 'detected' early, which is not how the term is traditionally used.
Virginity IS curable if detected early . . .