Emergency contraception can be used to prevent pregnancy when a woman has had sex without using birth control, her main birth control method fails or she is raped. There are different types of emergency contraception available.