In this article
STI prevention works best through a combination of tools chosen to suit each person's sexual practices, relationships and preferences. Condoms remain central, but vaccines, regular testing, effective infection treatment and medicines that prevent HIV before or after exposure are now also available.
This article describes these tools, what each does and does not protect against, and how to combine them. It also discusses the role of tests in prevention, because knowing your own and your partners' status is one of the most effective measures. This is general information; decisions about vaccines, medicines and testing should be made with a doctor, confidentially and without judgement.
Combined prevention
The 2021 US CDC guidelines describe STI prevention as mutually reinforcing strategies: information and counselling, condoms, vaccination, testing, treatment of infected people and their partners and, for HIV, preventive medicines. The European Centre for Disease Prevention and Control (ECDC) stresses the same idea: a negative test is an opportunity to discuss prevention, while a positive test provides access to treatment.
Everyone can choose the tools that best fit their life. Someone who finds consistent condom use difficult may benefit more from frequent tests and, if at risk of HIV, PrEP. After both partners have tested, people in a stable relationship may decide to stop using condoms. Choices are not right or wrong; they offer more or less protection against each infection.
| Tool | Main benefit |
|---|---|
| External or internal condom | Barrier against infections transmitted through bodily fluids |
| Vaccination | Long-term protection against HPV, hepatitis B and hepatitis A |
| Regular testing | Early detection of symptomless infections |
| Treatment of infections and partners | Stops transmission |
| PrEP | HIV prevention before exposure |
| PPE | HIV prevention after a risk exposure |
| HIV treatment with an undetectable viral load | Prevents sexual transmission of HIV |
Condoms: what they do and do not protect against
External sheaths (worn on the penis) and internal sheaths (placed in the vagina or anus) are barriers preventing contact with fluids such as semen, vaginal secretions and blood. Correct and consistent use greatly reduces the risk of HIV transmission and also gonorrhoea, clamidia and trichomoniasis. For oral sex, a sheath or latex barrier over the vulva or anus also reduces risk.
Protection is lower against skin-to-skin infections such as genital herpes, HPV and syphilis because lesions may occur outside the area covered. Even so, condoms reduce their risk. Failures are mainly caused by inconsistent use, putting the condom on late, breakage due to too little lubricant, or using oil-based lubricants with latex condoms.
| Infection | Protection from condoms |
|---|---|
| HIV | High |
| Gonorrhoea, chlamydia, trichomoniasis | High for genital contact |
| Hepatitis B | Good; vaccination is the main protection |
| Genital herpes | Partial |
| HPV | Partial; vaccination is the main protection |
| Syphilis | Partial |
Vaccination
Three vaccines play an important role in preventing sexually transmitted infections. The HPV vaccine protects against virus types responsible for most cervical, anal and other cancers, and genital warts. It is part of the National Vaccination Programme and is most effective before sexual activity begins, but following medical assessment it may also benefit older people.
The hepatitis B vaccine is also part of the National Vaccination Programme. Adults who were not vaccinated, or do not know whether they were, can have a test to check immunity and complete vaccination if necessary. Hepatitis A vaccination is recommended in some situations, such as for men who have sex with men and other higher-risk practices. Your GP or healthcare team can help identify missing vaccines.
| Vaccine | Protects against | General notes |
|---|---|---|
| HPV | Infection with the main HPV types, associated cancers and genital warts | Best before sexual activity begins |
| Hepatitis B | Hepatitis B | Immunity can be confirmed with a test |
| Hepatitis A | Hepatitis A | Recommended in some higher-risk situations |
PrEP: preventing HIV before exposure
HIV prophylaxis before exposure, or PrEP, involves people without HIV who are more likely to be exposed taking HIV medicine (the combination of emtricitabina and tenofovir). Taken as prescribed, it is highly effective in preventing sexually transmitted HIV. It does not protect against other STIs, so barrier protection and regular testing remain important.
In Portugal, PrEP is prescription-only. It is available free from SNS hospital pharmacies following a hospital prescription. A decree published in December 2023 broadened access, providing for prescriptions in primary care and other settings and subsidised supply by community pharmacies; implementation has been gradual. Ask your GP or call SNS 24 (808 24 24 24) to find an assessment service locally.
| Aspect of PrEP | What to know |
|---|---|
| Who it is for | People without HIV who are more likely to be exposed, after medical assessment |
| Before starting | Negative HIV test and other tests, including kidney function |
| During | Regular HIV and other STI tests and kidney monitoring |
| What it does not do | Does not protect against syphilis, gonorrhoea, chlamydia, herpes or HPV |
| Access in Portugal | By prescription; free from SNS hospital pharmacies; access being expanded |
PEP: preventing HIV after exposure
Prophylaxis after exposure (PEP) is an HIV treatment lasting around 28 days, begun after a risk exposure to HIV, such as sex without barrier protection with someone of unknown status or a broken sheath. It only works if started early: ideally within hours and never after 72 hours.
In this situation, go immediately to a hospital emergency department or call SNS 24 for advice. PEP is an emergency measure, not a substitute for regular prevention. People who need PEP often may benefit from discussing PrEP with a doctor.
| PrEP | PPE | |
|---|---|---|
| When it is taken | Before and during periods of possible exposure | After a specific exposure |
| Time frame | Continuously or according to the prescribed regimen | Start within 72 hours; the sooner, the better |
| Duration | For as long as indicated | Around 28 days |
| Where to look | Medical appointment and prescription | Hospital emergency department or SNS 24 |
Treatment as prevention
One of the most important advances in recent decades is the certainty that a person with HIV on effective treatment who maintains an undetectable viral load does not transmit the virus sexually. Known as "undetectable equals untransmittable", this message has a huge impact on people living with HIV and the fight against stigma.
The same principle applies differently to bacterial infections: rapidly treating an infected person and their partners breaks the chain of transmission. Guidelines therefore stress notifying partners, abstaining from sex during treatment as medically advised, and retesting around three months after chlamydia or gonorrhoea to detect reinfection.
| Situation | Measure that prevents new infections |
|---|---|
| HIV under treatment with an undetectable viral load | No sexual transmission |
| Diagnosed bacterial STI | Treatment of the person and their partners |
| During treatment | Avoid sex as medically advised |
| After chlamydia or gonorrhoea | Repeat the test around three months later |
Regular testing and communication
Regular tests are a preventive measure, not just a diagnostic one. Many STIs cause no symptoms, and only testing allows treatment before they are passed on. Frequency depends on sexual practices and number of partners, ranging from annually to every three to six months for people at higher risk.
Discussing tests, condoms and PrEP with partners can initially feel awkward, but gets easier with practice. Knowing everyone's status and agreeing what to do is mutual care. Alcohol or other substances before or during sex can make these decisions harder; keeping condoms handy and having a plan helps maintain your choices.
| Habit | Benefit |
|---|---|
| Test before stopping condoms in a relationship | Both partners know their status |
| Regular tests according to risk | Early detection |
| Keep condoms and lubricant available | Makes consistent use easier |
| Discuss PrEP and vaccines with a doctor | Additional protection |
At Clínica Alegre in Setúbal and Seixal, you can have laboratory tests and ask our team any questions about the results.
Frequently asked questions
Do condoms protect against every STI?
Not completely. They offer strong protection against fluid-borne infections such as HIV, and less against skin-to-skin infections such as herpes and HPV.
If I take PrEP, can I stop having tests?
No. PrEP requires regular tests for HIV and other STIs, and kidney monitoring.
Does PrEP protect against syphilis or gonorrhoea?
No. It protects only against HIV.
I am already sexually active. Is HPV vaccination still worthwhile?
It may be, depending on your age and medical assessment. The vaccine protects against HPV types you have not yet encountered.
How do I know whether I have been vaccinated against hepatitis B?
Check your vaccination record or have a test that assesses immunity.
Can a person with HIV have sex without transmitting the virus?
Yes. With effective treatment and a sustained undetectable viral load, there is no sexual transmission.
Where can I get PrEP?
In Portugal, through an SNS prescription. Ask your GP or call SNS 24 to find out how to access it locally.
Did you enjoy this article?
Scientific references2
- Workowski KA, Bachmann LH, Chan PA, et al. Sexually Transmitted Infections Treatment Guidelines, 2021. MMWR Recomm Rep. 2021;70(4):1–187.
- European Centre for Disease Prevention and Control. Public health guidance on HIV, hepatitis B and C testing in the EU/EEA: an integrated approach. ECDC. Stockholm: ECDC, 2018.





