Emergency contraception (EC) is the only birth control method that can prevent pregnancy after you’ve had sex.
It is intended for use following unprotected sex, birth control failure or misuse (such as forgotten pills or torn condoms), or rape or coerced sex.
Emergency contraception is most effective when taken as soon as possible after sex, but you can use it up to five days afterward. The most common form of emergency contraception is a pill.
For more information, check out this website from Planned Parenthood.
Important! EC does not protect you from STDs or STIs. If you had unprotected sex and you do not know whether your partner has STDs or STIs, get tested as soon as possible.