Post-exposure prophylaxis is best known in relation to HIV, but the principle applies to several other infections with varying degrees of evidence behind it. Some have a genuine and effective route, and others have nothing at all.
Hepatitis B
The clearest case after HIV. Someone exposed to hepatitis B who is not immune can be given vaccination, and in higher-risk situations hepatitis B immunoglobulin as well, which provides immediate passive protection. Timing matters: it works best within forty-eight hours and is generally given up to a week after exposure. This is one of the reasons your hepatitis B status is checked when you attend for HIV PEP, and one of the reasons completing the vaccine course matters, since it removes the need for this entirely.
Mpox
Vaccination after exposure is used and can prevent or reduce the severity of illness. It works best given within four days of contact and may still help up to fourteen. If you learn that a recent partner has been diagnosed with mpox, contact a sexual health clinic promptly rather than waiting to see whether you develop anything.
Bacterial infections
Doxycycline taken after sex, usually called doxy-PEP, reduces the chance of acquiring chlamydia and syphilis substantially, with a weaker effect against gonorrhoea because of resistance. It is being introduced in some UK services with specific eligibility criteria rather than being generally available. It is a different proposition from HIV PEP: a single dose rather than a month-long course, and prevention of infections that are treatable rather than lifelong.
Hepatitis C
There is no post-exposure prophylaxis and no vaccine. The approach is monitoring instead: testing after a known exposure and, if infection is detected, treating early with direct-acting antivirals, which cure the great majority of cases with a course of tablets. Early detection is genuinely valuable here even without prophylaxis, which is the argument for including hepatitis C in screening if you inject, fist, or have sex traumatic enough to cause bleeding.
Herpes and HPV
Neither has post-exposure prophylaxis. HPV is prevented by vaccination beforehand, free at sexual health clinics for men who have sex with men up to forty-five. Herpes is managed if it occurs, with antivirals shortening outbreaks when started early, ideally within seventy-two hours of symptoms appearing rather than of exposure.
Tetanus
Worth mentioning for injuries rather than sexual exposures. If you sustain a wound and your tetanus cover is out of date, that is a straightforward thing to sort out and is often overlooked when the attention is elsewhere.
What does this mean practically?
If you attend for HIV PEP, the same visit should consider hepatitis B, and should offer vaccination if you are not immune. If a partner is diagnosed with mpox, that is a separate and time-limited opportunity. For everything else, the answer is either vaccination in advance or testing afterwards.
The general principle
Prophylaxis after the event exists for a small number of infections and is always second best to prevention before it. Completing the vaccination courses available free at any sexual health clinic removes several of these questions permanently.