Morning-after pills can help prevent pregnancy if you've had unprotected sex — either because you didn't use birth control, you missed a birth control pill, you were sexually assaulted or your method of birth control failed. Morning-after pills do not end a pregnancy that has implanted.