Requests

Laboratory tests

How to prevent sexually transmitted infections

Preventing sexually transmitted infections does not mean living your sex life in fear or following one rule for everyone.

Clínica Alegre practitioner pipetting a sample into a test tube beside sample collection tubes

Reviewed by Dr Fernando Alegre

Clinical Director · OMD, registration no. 9688

Written by the Clínica Alegre team10-minute read

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.

ToolMain benefit
External or internal condomBarrier against infections transmitted through bodily fluids
VaccinationLong-term protection against HPV, hepatitis B and hepatitis A
Regular testingEarly detection of symptomless infections
Treatment of infections and partnersStops transmission
PrEPHIV prevention before exposure
PPEHIV prevention after a risk exposure
HIV treatment with an undetectable viral loadPrevents 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.

InfectionProtection from condoms
HIVHigh
Gonorrhoea, chlamydia, trichomoniasisHigh for genital contact
Hepatitis BGood; vaccination is the main protection
Genital herpesPartial
HPVPartial; vaccination is the main protection
SyphilisPartial

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.

VaccineProtects againstGeneral notes
HPVInfection with the main HPV types, associated cancers and genital wartsBest before sexual activity begins
Hepatitis BHepatitis BImmunity can be confirmed with a test
Hepatitis AHepatitis ARecommended 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 PrEPWhat to know
Who it is forPeople without HIV who are more likely to be exposed, after medical assessment
Before startingNegative HIV test and other tests, including kidney function
DuringRegular HIV and other STI tests and kidney monitoring
What it does not doDoes not protect against syphilis, gonorrhoea, chlamydia, herpes or HPV
Access in PortugalBy 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.

PrEPPPE
When it is takenBefore and during periods of possible exposureAfter a specific exposure
Time frameContinuously or according to the prescribed regimenStart within 72 hours; the sooner, the better
DurationFor as long as indicatedAround 28 days
Where to lookMedical appointment and prescriptionHospital 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.

SituationMeasure that prevents new infections
HIV under treatment with an undetectable viral loadNo sexual transmission
Diagnosed bacterial STITreatment of the person and their partners
During treatmentAvoid sex as medically advised
After chlamydia or gonorrhoeaRepeat 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.

HabitBenefit
Test before stopping condoms in a relationshipBoth partners know their status
Regular tests according to riskEarly detection
Keep condoms and lubricant availableMakes consistent use easier
Discuss PrEP and vaccines with a doctorAdditional 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
  1. Workowski KA, Bachmann LH, Chan PA, et al. Sexually Transmitted Infections Treatment Guidelines, 2021. MMWR Recomm Rep. 2021;70(4):1–187.
  2. 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.
Article information
Written by
Clínica Alegre team
Clinical review
Dr Fernando Alegre, Clinical Director · OMD, registration no. 9688
Published
2 Dec 2026
Last updated
2 Dec 2026
Topic
Laboratory tests
Reading time
10 min

See also

Related treatments

Want to know what is right for you?

Contact us on WhatsApp or book an assessment, in person or online.

Book an appointment

Book your assessment.

Choose Setúbal or Seixal. We reply within opening hours.

Newsletter

Get the latest news from the Clínica Alegre.

Blog articles and clinic news, delivered to your inbox. Unsubscribe at any time.