Contraception and STI Prevention: Condoms, the Pill, Emergency Contraception, Testing, and the HPV Vaccine
![]()
⏱ About 8 min read
Feeling relaxed during sex is a lot easier when you are not quietly worrying about an unplanned pregnancy or an infection. Neither of those should be left to one partner to handle alone. This chapter walks through the main tools, from condoms and the pill to emergency contraception, STI testing, and the HPV vaccine, so the two of you can make a plan together.
This page may contain affiliate links. If you buy through them, we may earn a commission at no extra cost to you.
- Why condoms are the one method that covers both pregnancy and STIs, and how to use them correctly
- How effective the pill is in real life, and who should not take it
- Emergency contraception: the options and why timing matters
- STI testing, window periods, and what the HPV vaccine can do
Use a condom every time, from start to finish, unless you have both been tested and agreed on another plan. If you want more protection against pregnancy, add a second method such as the pill, chosen with a health professional. If a condom breaks or you had unprotected sex, look into emergency contraception as soon as possible. Many STIs cause no symptoms, so regular testing is part of a normal sex life, not an accusation.
Condoms protect against both pregnancy and STIs
External condoms are the most widely available method that works against both unintended pregnancy and sexually transmitted infections (STIs). In 2000, the US National Institutes of Health reviewed the evidence and found condoms effective against HIV and against gonorrhea in men. A later review of prospective studies (studies that follow people forward in time) published after that review found that condom use was associated with significant protection against several other STIs, including chlamydia, gonorrhea, genital herpes (HSV-2), and syphilis (Holmes et al., 2004). The authors are clear that condoms are not 100% effective, but they conclude that even partial protection can substantially reduce the spread of STIs. Most of the evidence comes from observational studies, which cannot rule out every other explanation.
The World Health Organization puts it simply: used correctly and consistently, condoms are one of the most effective ways to protect against STIs (WHO, 2025).
For pregnancy, the NHS says condoms are up to 98% effective when used correctly every time (NHS, 2024). In everyday use, mistakes happen: the CDC lists a typical-use failure rate of 13% for external condoms (CDC, 2024). The typical-use figure reflects how condoms are used in real life, which is why the steps below matter.
How to use and store condoms correctly
- Check the date and the wrapper. An expired condom may not work (NHS, 2024). Skip any wrapper that is torn or damaged.
- Open it carefully with your fingertips, not teeth or scissors, so you do not nick the condom.
- Put it on before any genital contact, once the penis is erect. If uncircumcised, pull back the foreskin first (CDC, 2024). Putting it on partway through does not protect you.
- Pinch the tip to squeeze out air and leave room for semen, then unroll it all the way to the base (CDC, 2024).
- After ejaculation, hold the rim at the base and withdraw while the penis is still erect, then remove it so semen does not spill (CDC, 2024).
- Use a new condom every time, for every act of vaginal, anal, or oral sex. Never reuse one. If it breaks, stop, remove it, and put on a new one (CDC, 2024).
- One at a time. Do not use two condoms together; it can make one or both split (NHS, 2024).
- Store them somewhere cool and dry. The CDC advises against keeping condoms in your wallet, because heat and friction can damage them.
- Lube: with latex condoms, use water-based or silicone-based lube only. Oil-based products such as baby oil, lotion, petroleum jelly, or cooking oil can weaken latex and make it break (CDC, 2024; NHS, 2024). The CDC also advises against condoms or lube with nonoxynol-9, a spermicide that can cause irritation. For more on lube types, see the sister site's lube guide.
The pill: effective, but it needs a health professional
Combined oral contraceptives ("the pill") are taken every day. With typical use, which includes missed or late pills, the CDC lists a failure rate of 7%, the same as the patch and the vaginal ring. Longer-acting methods have much lower typical-use failure rates: 0.1% for the implant, 0.1 to 0.4% for the hormonal IUD, and 0.8% for the copper IUD (CDC, 2024). If remembering a daily pill is hard, those options are worth asking about.
The pill is not right for everyone. Whether it is safe for you depends on your age, health, and smoking. The NHS notes you may not be able to take the combined pill if, for example, you are 35 or over and smoke, or if you or a close family member have had blood clots (NHS, 2024). The CDC's medical eligibility guidance says people aged 35 or older who smoke 15 or more cigarettes a day should not use combined pills because of the risk of heart attack and stroke, and that use is usually not recommended for smokers 35 and older who smoke less than that (CDC, 2024).
How you get the pill also differs by country. In some places it requires a prescription; in others a pharmacist can supply it. Rules differ by country, so ask a pharmacist or doctor where you live.
The pill does not protect against STIs. Unless you have both been tested and agreed on a plan, use condoms as well.
Emergency contraception: act as soon as you can
If a condom broke or slipped, or you had sex without contraception, emergency contraception can still prevent many pregnancies. The WHO lists two kinds: emergency contraceptive pills and the copper IUD (WHO, 2021).
- Levonorgestrel pill: taken within 3 days (72 hours) of sex (NHS, 2024). The US FDA advises taking it as soon as possible within that window.
- Ulipristal acetate pill: taken within 5 days (120 hours) of sex (NHS, 2024).
- Copper IUD: fitted within 5 days. It is the most effective option, preventing more than 99% of pregnancies, and can be left in as ongoing contraception (WHO, 2021; NHS, 2024).
Pills work better the sooner they are taken, so do not wait to see what happens. The WHO notes that side effects are uncommon and mild, and that emergency contraception does not harm future fertility (WHO, 2021).
Where you can get it depends on where you live. Two examples we confirmed: in the United States, the levonorgestrel pill Plan B One-Step is sold without a prescription (FDA, 2022). In the UK, emergency contraception is free from NHS sexual health clinics and GP surgeries, and most pharmacies sell the pill (NHS, 2024). Elsewhere, rules differ by country; a pharmacist, sexual health clinic, family doctor, or gynecologist can tell you the fastest route. Our Where to get help, country by country page lists starting points.
Emergency contraception is a backup, not a regular method, and it does not work every time. If your next period is late or unusual, take a pregnancy test and see a health professional. If anything sexual happened without your consent, you deserve support: in an emergency call your local emergency number, and see Where to get help, country by country for sexual assault services, which can also help with emergency contraception and STI care.
STIs can spread without any symptoms
More than 30 bacteria, viruses, and parasites can be passed on through sexual contact, including vaginal, anal, and oral sex. Eight cause most infections. Four are currently curable (syphilis, gonorrhea, chlamydia, and trichomoniasis), and four are viral (hepatitis B, herpes, HIV, and HPV) (WHO, 2025).
The tricky part is that STIs often cause no symptoms, so you can have one without knowing and pass it to a partner (CDC, 2026; WHO, 2025). Left untreated, some cause lasting harm: the WHO notes that gonorrhea and chlamydia are major causes of pelvic inflammatory disease and infertility in women. Many STIs are treatable, but you can be infected again, which is why treating partners matters too (WHO, 2025).
Getting tested
- Where: sexual health clinics, family doctors (GP or primary care), gynecologists, and urologists can all test. Many places offer free, low-cost, or confidential testing; the details differ by country. See Where to get help, country by country.
- Tell them what kind of sex you have. The CDC advises that people who have had oral or anal sex ask their provider about throat and rectal testing options (CDC, 2026).
- HIV: the CDC recommends everyone aged 13 to 64 be tested at least once (CDC, 2026).
- Mind the window period. Tests cannot detect an infection immediately. For HIV, the CDC says a lab antigen/antibody test usually detects HIV 18 to 45 days after exposure, a finger-stick rapid antigen/antibody test 18 to 90 days, and an antibody test 23 to 90 days. If you test negative during that window, test again after it ends (CDC, 2026).
- If you have symptoms or a partner has been diagnosed, do not wait for a routine test. See a clinic or doctor promptly.
The HPV vaccine
HPV is a common virus that can cause cervical cancer and other cancers. A Swedish study followed about 1.67 million women and girls aged 10 to 30. Among those who had received the quadrivalent HPV vaccine, the rate of invasive cervical cancer was 47 per 100,000, compared with 94 per 100,000 among those who had not. After adjusting for other factors, the risk was lower still, and the earlier the vaccine was given, the larger the difference (Lei et al., 2020). This was an observational study, so differences between people who did and did not get vaccinated may not be fully accounted for.
Who can get the vaccine, and who pays, differs by country. As one example, in the US the CDC recommends the vaccine for people through age 26 who did not start or finish it earlier, and says some adults aged 27 to 45 may decide to get it after talking with their doctor about their risk (CDC, 2024). Ask your doctor or a sexual health clinic what applies to you. Regular cervical screening is still important whether or not you are vaccinated; follow the schedule your national program or doctor recommends.
Talking about contraception and testing is not about suspicion or blame. It is how two people look after each other. Getting tested together before starting a new relationship is one simple way to begin.
Try this together Write your own three-line "protection plan." For example: "We use a condom every time," "Condoms live in this drawer, not a wallet," and "We both get tested once a year." Then look up where your nearest sexual health clinic is, so you know before you need it.
Last reviewed: October 16, 2026
References (14)
- Holmes KK, Levine R, Weaver M (2004). Effectiveness of condoms in preventing sexually transmitted infections. Bulletin of the World Health Organization 82(6):454-461
- Lei J, Ploner A, Elfström KM, et al. (2020). HPV Vaccination and the Risk of Invasive Cervical Cancer. New England Journal of Medicine 383(14):1340-1348
- World Health Organization (2025). Sexually transmitted infections (STIs): fact sheet
- World Health Organization (2021). Emergency contraception: fact sheet
- CDC (2024). About Contraception: typical-use failure rates by method
- CDC (2024). U.S. Medical Eligibility Criteria for Contraceptive Use, 2024. MMWR Recommendations and Reports 73(4)
- CDC (2024). How to Use an External Condom
- NHS (2024). Condoms
- NHS (2024). Combined pill: who can take it
- NHS (2024). Emergency contraception
- US FDA (2022). Plan B One-Step (1.5 mg levonorgestrel) Information
- CDC (2026). Getting Tested for STIs
- CDC (2026). Getting Tested for HIV (window periods)
- CDC (2024). HPV Vaccine