The morning-after pill is a type of emergency birth control (contraception). Emergency contraception is used to prevent pregnancy for women who’ve had unprotected sex or whose birth control method has failed. The morning-after pill is intended for backup contraception only, not as a primary method of birth control. Morning-after pills contain either levonorgestrel (Plan B