If you're looking to prevent pregnancy after sperm has entered the body, emergency contraception (also known as the morning-after pill) can be taken up to 72 hours after unprotected sex to help reduce the risk of pregnancy. It's important to speak with a healthcare provider about your options as soon as possible for personalized advice.