Mayo Clinic Health Manager
Get free personalized health guidance for you and your family.
Get StartedTreatments and drugs
By Mayo Clinic staffIn many cases, your first sex headache may also be your last one. And many sex headaches last for such a short period of time, the pain is gone before any pill you take can work. Because of reports that engaging in sex soon after experiencing a sex headache can cause even worse pain, you may be advised to refrain from sexual activity until your last headache has completely resolved.
If you have a history of sex headaches and there's no underlying cause, your doctor may recommend that you take preventive medicine, such as:
- Indomethacin, an anti-inflammatory
- Triptans, a class of anti-migraine medication
- Beta blockers, such as propranolol or metoprolol
Indomethacin and the triptans can be taken an hour before sex to ward off headaches. The beta blockers must be taken daily to prevent sex headaches and are only recommended in patients with frequent or prolonged attacks.