. . . "If you miss pills and have had sex without a backup method of birth control, you can use emergency contraception, such as Plan B. You can use emergency contraception for up to 5 days after having had sex, but it works best if you take it right away." .