ED tablets do not provide contraception or protect against sexually transmitted infections. A medicine that helps an erection has a different purpose from a method intended to prevent pregnancy or infection.
Do not confuse treatment with protection
MedlinePlus specifically states that sildenafil does not prevent pregnancy or the spread of sexually transmitted diseases. Using an ED treatment does not remove the need to discuss appropriate protection, testing, and contraception with a qualified clinician.
An improvement in erections also does not tell you whether a person has an infection. Avoid making decisions about testing or protection based on sexual performance.
Prepare two separate conversations
For the ED consultation, bring the medicine name, strength, directions, and any side effects. For sexual-health advice, explain your questions about contraception, infection prevention, testing, or a possible exposure. Asking both sets of questions is reasonable; one treatment does not answer the other set automatically.
You can write the questions down before the visit if the discussion feels awkward. Examples include: “Does my current plan address contraception?” “Do I need advice about testing?” and “Where should I get confidential sexual-health care?”
If you have a time-sensitive concern
Seek prompt professional advice about a possible exposure or contraceptive problem rather than waiting for an ED follow-up. This article cannot assess the risk or choose a treatment for that situation.
For erection-treatment background, see the sildenafil guide.
Source: National Library of Medicine, MedlinePlus, Sildenafil drug information. Educational information, not individual sexual-health advice.