Abstaining from penis-in-vagina sex is the only surefire way to prevent pregnancy 100% of the time. But long-acting reversible methods of birth control and surgical sterilization are a close second.