The most effective methods of birth control are sterilization by means of vasectomy in males and tubal ligation in females, intrauterine devices (IUDs), and implantable birth control. This is followed by a number of hormone-based methods including oral pills, patches, vaginal rings, and injections. Less effective methods include physical barriers such as condoms, diaphragms and birth control sponges and fertility awareness methods. The least effective methods are spermicides and withdrawal by the male before ejaculation. Sterilization, while highly effective, is not usually reversible; all other methods are reversible, most immediately upon stopping them. Safe sex practices, such as with the use of male or female condoms, can also help prevent sexually transmitted infections. Other methods of birth control do not protect against sexually transmitted diseases. Emergency birth control can prevent pregnancy if taken within the 72 to 120 hours after unprotected sex. Some argue not having sex as a form of birth control, but abstinence-only sex education may increase teenage pregnancies if offered without birth control education, due to non-compliance.