How to Prevent STIs and What to Do If a Partner Has One

STIs are common and mostly treatable, and there’s no judgment here about how you ended up needing this. Just clear know-how on prevention, testing, and timing to keep you and your partners safe.

STIs are more common than most people think, and they can happen to anyone, no matter how careful you’ve been. Maybe a partner just told you they tested positive. Or maybe nothing’s happened at all, and you’re simply looking to protect yourself.

An STI, or sexually transmitted infection (an infection mainly passed through sexual contact), can affect anyone sexually active. Another term you might hear is STD (sexually transmitted disease). Many STIs may show no symptoms. It’s possible to feel totally well and still have one. All STIs can be treated, and some can be cured completely.12

On this page
  1. How do STIs spread, and what does not spread them?
  2. What are some testing methods for STIs?
  3. What are some common STI symptoms?
  4. What can I do to prevent STIs?
  5. Does birth control prevent STIs?
  6. What should I do if my partner has an STI?
  7. Should I get tested if I have no symptoms?
  8. Can teens consent to STI testing and treatment?
  9. Where can teens find low-cost or free STI testing?
  10. How can I manage an STI?
  11. When to see a doctor?

Key takeaways

  • An STI can be present even when you feel well, so testing can still be important.
  • STIs mainly spread through sexual contact, not public restrooms or swimming pools.
  • While condoms reduce the risk for many STIs, they don’t eliminate that risk.
  • Oral sex can spread STIs too.
  • HPV and hepatitis B vaccines can prevent some infections.
  • Most birth control methods do not protect against STIs.
  • Ask to get tested or treated if your partner has an STI.
  • Quick action is necessary for possible HIV exposure since PEP must begin within 72 hours.
  • Some STIs can be cured. Others can be controlled with treatment.

How do STIs spread, and what does not spread them?

STIs can spread through vaginal, anal, or oral sex. Some can also be transmitted through intimate sexual skin-to-skin contact.2

STIs can be caused by bacteria (a type of germ), viruses (tiny infectious agents), or parasites (small organisms that live on or inside another living thing).12 Oral sex can spread several STIs between the mouth or throat and the genitals or anus. Wearing a condom, dental dam (a thin sheet used between the mouth and vagina or anus as a protective barrier during oral sex), or other barrier can reduce the risk.3

Genital herpes and syphilis are not spread through toilet seats, bedding, swimming pools, silverware, or towels.45

Pubic lice, sometimes called crabs (tiny insects that usually live in pubic hair), usually spread through close contact. They can sometimes spread through recently used clothing or bedding. Toilet-seat spread is very rare.6

So, you do not need to fear public restrooms. Focus on the things that really lower your risk, such as safer sex and testing.

What are some testing methods for STIs?

Symptoms alone may not tell you whether an STI is present. Some infections cause only mild changes that are easy to overlook.1

Tests can be performed on blood, urine, or a swab (a small sample using a soft-tipped stick). No single test checks for every STI.7

Tell your healthcare professional if you had vaginal, anal, or oral sex. This assists them in selecting which test and body area they should test.33

What are some common STI symptoms?

There is no single STI symptom. Some infections may not cause any noticeable signs.1 However, some infections may have a few particular symptoms, such as:

InfectionPossible symptoms
ChlamydiaOften no symptoms. There may be unusual vaginal discharge or burning when urinating.8
GonorrheaBurning on urination, increased vaginal discharge, or bleeding between periods.9
Genital herpesThis can cause blisters or sores in the genital or anal area. Symptoms can also be very mild.4
TrichomoniasisAn antibiotic taken by mouth.34 It is the most common curable STI. Partners need treatment at the same time, and reinfection is common, so retesting about three months later is advised.34
SyphilisAn early infection may cause a painless sore. A later stage may cause a rash.5
TrichomoniasisOften no symptoms. There may be itching, burning, or soreness of the genitals, discomfort when urinating, or a thin discharge with a fishy smell.34

These symptoms don’t confirm an STI on their own, and having no symptoms doesn’t rule one out. Testing is better than guessing.

What can I do to prevent STIs?

The only way to fully avoid STIs from sexual contact is not to have vaginal, anal, or oral sex. For sexually active individuals, some steps can help reduce the risk.10

Use condoms correctly

Use a new condom from start to finish every time you have sex. While condoms reduce the risk, they don’t eliminate it.11

These are most effective for infections that are transmitted through bodily fluids like chlamydia and gonorrhea. They give less protection against infections that can spread through uncovered skin, such as herpes or syphilis.11

When using a latex condom, use a water-based or silicone-based lubricant (a slippery substance that minimizes rubbing). Using oil-based products can reduce the elasticity of the latex and cause the condom to tear.11

Use protection during oral sex

A dental dam (a thin latex or polyurethane sheet that is inserted between the vulva or anus and the mouth) can be used as a barrier during oral sex. The vulva is the external female genitalia. Use a new dental dam each time.12

Keep your vaccines up to date

The HPV vaccine protects against HPV, or human papillomavirus (a common virus that can cause genital warts and some cancers). Routine vaccination is recommended at ages 11–12, and it can start as early as age 9. Catch-up vaccination is recommended through age 26. For some adults ages 27–45, vaccination may be considered after discussion with a healthcare professional.13

The hepatitis B vaccine protects against hepatitis B (a virus that affects the liver). It is recommended for adults ages 19 to 59, and for adults 60 and older who have risk factors. Other adults 60 and older may also choose to get it.14

Talk about testing

It is okay to ask a partner, “When were you last tested?” Reducing your number of partners reduces your exposure risk. A mutually monogamous relationship (both partners have sex only with each other) with a partner who has tested negative can also lower the risk.10

Ask about PrEP if HIV is a concern

When taken as prescribed, PrEP or pre-exposure prophylaxis (medicine taken before possible HIV exposure) can significantly reduce the risk of HIV or human immunodeficiency virus infection (a virus that weakens the immune system). It cannot protect against other STIs or pregnancy.15

Ask about doxy PEP if it applies to you

CDC recommends discussing doxy PEP with gay, bisexual, and other men who have sex with men (MSM) and transgender women who had chlamydia, gonorrhea, or syphilis in the past 12 months. Doxy PEP is an antibiotic taken after sex, exactly as prescribed. CDC has not recommended it for cisgender women because the evidence is not yet sufficient.16

Does birth control prevent STIs?

Most birth control methods do not.

Birth control pills, implants, injections, patches, vaginal rings, and IUDs, or intrauterine devices (small birth control devices placed inside the uterus), prevent pregnancy. They do not protect against STIs.17

If you want protection against pregnancy and STIs, you can use a condom with another birth control method. This is called dual protection (using protection against pregnancy and STIs at the same time).17

MethodSTI protection?What you should know
External or internal condomYesCondoms reduce the risk of many STIs, but they do not eliminate risk.1117
Dental damYesIt provides a barrier during oral sex on the vulva or anus.12
HPV vaccineYes, for HPVIt is effective at preventing the HPV types included in the vaccine.13
Hepatitis B vaccineYes, for hepatitis BIt can prevent hepatitis B infection.14
PrEPYes, for HIVWhen used correctly, it significantly reduces HIV risk, but not the risk of other STIs.15
Pill, IUD, implant, patch, ring, or injectionNoThese methods prevent pregnancy, not STIs.17

What should I do if my partner has an STI?

Never wait for signs and symptoms. If possible, find out which infection your partner has. Next, consult your OB-GYN, primary care physician, or sexual health clinic. An OB-GYN is a doctor who specializes in female reproductive health. They can advise you about testing or treatment.

If exposure to HIV is suspected or has occurred, inquire about PEP, also known as post-exposure prophylaxis (emergency medication after HIV exposure). PEP must start within 72 hours. The sooner it starts, the better.18

If you are diagnosed with chlamydia or gonorrhea, your sexual partner may also need treatment. You should also be tested again about three months later because reinfection can happen.19

Until you have medical advice, it may be best to pause sexual contact.

Should I get tested if I have no symptoms?

Sometimes, yes. Testing without symptoms is called screening.

  • Yearly chlamydia and gonorrhea screening for sexually active women younger than 25.
  • Women aged 25 and older should also be screened if they have an increased risk, such as a new partner, more than one partner, or a partner who has an STI.
  • Pregnant women also need testing for certain infections. Throat or rectal testing may be needed after some types of sexual contact.2033

Your healthcare professional can tell you which tests you need and when to have them.

Yes. In all 50 states and Washington, DC, minors can get STI testing and treatment without a parent’s permission. A few states set a minimum age, usually 12 or 14, and some allow a doctor to inform a parent. Privacy rules also differ by state. If you use a parent’s health insurance, billing papers such as an explanation of benefits (EOB) may show that you received care.21

Where can teens find low-cost or free STI testing?

You may still be able to get free or low-cost STI care if you do not have your own health insurance. Title X clinics offer confidential STI testing and treatment at low or no cost for eligible patients.22 Planned Parenthood health centers can also provide STI testing and explain payment options.23 Some school-based health centers offer STI testing and treatment or can connect students with nearby youth-friendly services.24

How can I manage an STI?

It is possible to manage an STI based on the type of infection. For example, chlamydia, gonorrhea, and syphilis can be cured with the right medicine.589

InfectionTreatment that may be prescribedNotes
ChlamydiaAntibiotics, such as doxycycline25Your healthcare provider will choose the treatment that is best for you.
GonorrheaAn antibiotic injection, such as ceftriaxone26Your recent partners need to be tested and treated too.19
SyphilisPenicillin, an antibiotic given by injection27The treatment may be different depending on the stage of syphilis.27
Genital herpesAntiviral medicines, such as valacyclovir28It can help control outbreaks, but it does not cure herpes.28
HIVAntiretroviral therapy (a combination of HIV medicines)29Treatment helps control HIV, but it does not cure it.29
Pubic liceAn over-the-counter lice treatment, such as permethrin lotion6Use it exactly as directed on the label, and ask a pharmacist if you are unsure.6

You can also get some STIs again after successful treatment.19 So, treatment does not always mean the same thing as a cure. But there are treatment options for every STI.

When to see a doctor?

Contact a healthcare provider if you experience:

Seek advice following any known exposure, unprotected sex, or condom rupture.718 Do not rely on symptoms alone to decide whether to get checked after a known exposure.1

Seek urgent medical care:

  • If you may have been exposed to HIV within the last 72 hours. PEP is time-sensitive. Seek medical attention immediately from a clinic, urgent care center, or emergency department.18
  • If you have lower abdominal pain, fever, unusual vaginal discharge, pain or bleeding during sex, burning while peeing, or bleeding between periods, this may indicate PID (pelvic inflammatory disease), which is often caused by untreated chlamydia or gonorrhea.30
  • If exposed during sexual assault, head to an emergency department for STI testing, HIV prevention, and emergency contraception.32

US helplines and support

  • CDC-INFO: 1-800-232-4636 (1-800-CDC-INFO): This line provides trusted CDC health information. It is open Monday through Friday, 8 a.m. to 8 p.m. Eastern Time. It does not diagnose illness nor prescribe treatment.31
  • Office on Women’s Health Helpline: 1-800-994-9662: It’s a U.S. government resource line open Monday through Friday between 9 a.m. and 6 p.m. Eastern Time. It gives health information but does not give medical advice or treatment.32
  • National Sexual Assault Hotline: 1-800-656-HOPE (4673): Call if you need support or help finding services after sexual assault.32
  • 911: Call 911 if you are in immediate danger or having a medical emergency.32

Frequently asked questions

No; common STIs such as herpes and syphilis are not spread through toilet seats.

Yes, oral sex can transmit infections from the mouth, throat, genital area, and anus.

No; many people with an STI look and feel completely healthy.

Yes. Condoms reduce the risk, but some infections, such as herpes and syphilis, can be transmitted through skin that is not covered.

No; the pill prevents pregnancy but does not protect against STIs.

No, exposure does not always lead to infection, but testing or treatment may be needed.

Yes; you can get infections such as chlamydia or gonorrhea again after successful treatment.

The best time depends on the infection. Consult a healthcare professional about which type of test is required and when.

You can ask about Title X clinics, Planned Parenthood health centers, school-based health centers, or other community clinics. Before your visit, ask if they offer private, free, or low-cost care based on your income.

Ask about STI testing and about emergency contraception to prevent pregnancy. If HIV exposure is possible, ask about PEP right away, because it must start within 72 hours.

Last medically reviewed on

References

Our commitment to accuracy is paramount; we use high-quality sources, including peer-reviewed studies, to support the facts in our articles. Learn more about our Editorial Process.

  1. American College of Obstetricians and Gynecologists (ACOG). How to Prevent Sexually Transmitted Infections (STIs). (Last reviewed: May 2025). acog.org
  2. Office on Women's Health (OWH). Sexually transmitted infections. (Page last updated: March 20, 2026). womenshealth.gov
  3. Centers for Disease Control and Prevention (CDC). About STI Risk and Oral Sex. (Last reviewed: February 6, 2024). cdc.gov
  4. Centers for Disease Control and Prevention (CDC). About Genital Herpes. (Last reviewed: February 20, 2024). cdc.gov
  5. Centers for Disease Control and Prevention (CDC). About Syphilis. (Last reviewed: January 30, 2025). cdc.gov
  6. Centers for Disease Control and Prevention (CDC). About Pubic "Crab" Lice. (Last reviewed: June 4, 2024). cdc.gov
  7. MedlinePlus. Sexually Transmitted Infection (STI) Tests. (Last updated: October 3, 2024). medlineplus.gov
  8. Centers for Disease Control and Prevention (CDC). About Chlamydia. (Last reviewed: January 31, 2025). cdc.gov
  9. Centers for Disease Control and Prevention (CDC). About Gonorrhea. (Last reviewed: January 31, 2025). cdc.gov
  10. Centers for Disease Control and Prevention (CDC). How to Prevent STIs. (Last reviewed: April 9, 2024). cdc.gov
  11. Centers for Disease Control and Prevention (CDC). Condom Use: An Overview. (Last reviewed: January 19, 2024). cdc.gov
  12. Centers for Disease Control and Prevention (CDC). How to Use a Dental Dam. (Last reviewed: April 3, 2024). cdc.gov
  13. American College of Obstetricians and Gynecologists (ACOG). Human Papillomavirus Vaccination. (Published: August 2020). acog.org
  14. Centers for Disease Control and Prevention (CDC). Adult Immunization Schedule Notes: Recommendations for Ages 19 Years or Older, United States, 2025. (Last reviewed: July 2, 2025). cdc.gov
  15. Centers for Disease Control and Prevention (CDC). Preventing HIV with PrEP. (Last reviewed: September 15, 2026). cdc.gov
  16. Centers for Disease Control and Prevention (CDC). CDC Clinical Guidelines on the Use of Doxycycline Postexposure Prophylaxis for Bacterial Sexually Transmitted Infection Prevention, United States, 2024. MMWR Recomm Rep. 2024;73(2):1–8. (Published: June 6, 2024). cdc.gov
  17. Office on Women's Health (OWH). Birth Control Methods. (Page last updated: May 4, 2026). womenshealth.gov
  18. Centers for Disease Control and Prevention (CDC). Preventing HIV with PEP. (Last reviewed: December 2, 2024). cdc.gov
  19. Centers for Disease Control and Prevention (CDC). Next Steps After Testing Positive for Gonorrhea or Chlamydia. (Last reviewed: April 9, 2024). cdc.gov
  20. American College of Obstetricians and Gynecologists (ACOG). Chlamydia, Gonorrhea, and Syphilis. (Last reviewed: January 2025). acog.org
  21. American College of Obstetricians and Gynecologists (ACOG). Confidentiality in Adolescent Health Care. (Published: April 2020). acog.org
  22. American College of Obstetricians and Gynecologists (ACOG). The Importance of Preserving Access to Care Through the Federal Title X Program. (Published: September 2024). acog.org
  23. Planned Parenthood. Health Centers. plannedparenthood.org
  24. Centers for Disease Control and Prevention (CDC). Sexual Health Services. (Last reviewed: December 6, 2024). cdc.gov
  25. Centers for Disease Control and Prevention (CDC). Chlamydial Infections. STI Treatment Guidelines. (Last reviewed: July 22, 2021). cdc.gov
  26. Centers for Disease Control and Prevention (CDC). Clinical Treatment of Gonorrhea. (Last reviewed: July 11, 2024). cdc.gov
  27. MedlinePlus. Syphilis. (Last reviewed: August 29, 2024). medlineplus.gov
  28. MedlinePlus. Genital Herpes. (Last reviewed: July 3, 2025). medlineplus.gov
  29. Centers for Disease Control and Prevention (CDC). Treating HIV. (Last reviewed: April 12, 2024). cdc.gov
  30. Centers for Disease Control and Prevention (CDC). About Pelvic Inflammatory Disease (PID). (Last reviewed: December 13, 2023). cdc.gov
  31. Centers for Disease Control and Prevention (CDC). About Our Service. CDC-INFO. (Last reviewed: March 18, 2024). cdc.gov
  32. Office on Women's Health (OWH). Sexual Assault. (Page last updated: February 26, 2025). womenshealth.gov
  33. Centers for Disease Control and Prevention (CDC). Getting Tested for STIs. (Last reviewed: March 17, 2026). cdc.gov
  34. Centers for Disease Control and Prevention (CDC). About Trichomoniasis. (Last reviewed: January 31, 2025). cdc.gov
Update history

Our team monitors the health and wellness space to keep articles current.

Current version (October 7, 2026) — Medically reviewed by Dr. Sadaf Iftikhar, MBBS, FCPS. Written by Dr. Maham Shahid, MBBS.