Not having sex is the 100% proven method.
Not having it and waiting till the other person says “I do”.