By Dr. Malik Sherjeel Awan, PsyD · Educational information only · Last checked 22 November 2026
Published by Dr. Malik Sherjeel Awan, Makkah
Many men have trouble getting or keeping an erection from time to time. When it keeps happening, doctors call it erectile dysfunction. It is common, and it is a reason to speak to a doctor, not a reason for shame.
This is a plain-language guide to what health services mean by the term, what can lie behind it, and when to get medical advice. It is general education, not a diagnosis or a treatment plan.
What doctors mean by erectile dysfunction
The NHS describes erectile dysfunction as being either unable to get an erection, or unable to keep an erection long enough to have sex. Depending on the cause, a man may still get an erection at other times, such as when he wakes up. Some men also notice a lower interest in sex (loss of libido).
The Saudi Ministry of Health, on its page about diabetes and sexual health, describes erectile dysfunction in similar terms: not being able to reach an erection that is sufficient for sexual intercourse, including being unable to get an erection or unable to continue it.
An occasional difficulty is not the same as an ongoing problem. The NHS notes that most men occasionally fail to get or keep an erection, often because of stress, tiredness or drinking too much alcohol, and that this is usually nothing to worry about.
What can cause it?
When erection problems happen often, the NHS says they may be linked to a health condition such as:
- high blood pressure or high cholesterol
- diabetes
- depression or anxiety
- hormone problems
They can also be a side effect of some medicines.
The Ministry of Health lists risk factors for diabetes-related sexual problems that overlap with this picture: not controlling blood glucose, high cholesterol, high blood pressure, being overweight, being over 40, lack of physical activity, and smoking.
Psychological factors matter too. Anxiety about sex can make the next attempt harder, which is why a related guide on this site looks at sexual performance anxiety. Stress, low mood and relationship strain can also play a part. Often more than one factor is involved.
Because erection problems can be linked to blood-vessel and heart health, they are worth taking seriously even when the immediate worry is about intimacy.
Things that may help, according to health services
The NHS lists healthy lifestyle changes that can sometimes help, including losing weight if you are overweight, stopping smoking, eating a healthy diet, exercising daily, and trying to reduce stress and anxiety. It also advises not drinking more than 14 units of alcohol a week, and taking a break from cycling if you cycle for more than three hours a week.
Those lifestyle points are a useful starting place. They are not a substitute for medical advice, and they are not a promise that symptoms will improve. For a broader look at everyday habits, see everyday habits that support men’s sexual health.
When to see a doctor
The NHS advises seeing a GP or going to a sexual health clinic if erection problems keep happening. It notes that this might be a sign of a health condition that can be treated.
At an appointment, the NHS says a doctor or nurse may ask about your lifestyle and relationships, do basic checks such as blood pressure, and examine the genitals to rule out an obvious physical cause. If you have symptoms such as needing to pee more often than usual, a prostate examination may also be discussed.
If you live outside the United Kingdom, the same idea applies: make an appointment with a qualified doctor or a sexual health service in your country. For a fuller checklist of warning signs and how to prepare, see when to see a doctor about sexual health.
Treatment is a decision for your doctor
The NHS says treatment can usually help improve erectile dysfunction, and it describes several options a clinician may discuss. These include medicines that increase blood flow to the penis (PDE-5 inhibitors), vacuum pumps, and treatment of an underlying cause, such as reviewing a medicine you already take.
This article does not recommend a medicine, a dose or a product. Only a doctor who knows your history can decide what is suitable. Some medicines are unsafe for men with certain heart conditions or who take particular other drugs.
The NHS also warns people to be careful about buying such medicines on the internet, because many websites sell fake products whose ingredients can vary and may cause harm. It is best to see a doctor before buying medicines online.
Talking with a partner
Erection problems can leave both partners worried or hurt. A calm conversation often lowers the pressure. See how to talk to your partner about sexual problems.
Frequently asked questions
Does an occasional problem mean I have erectile dysfunction?
Not usually. The NHS says most men occasionally fail to get or keep an erection, often because of stress, tiredness or alcohol.
Can it be a sign of something else?
Yes. The NHS lists conditions such as high blood pressure, high cholesterol, diabetes, depression, anxiety and hormone problems among possible causes when the difficulty keeps happening. That is one reason to see a doctor.
Will lifestyle changes be enough?
Sometimes they help, according to the NHS. They should sit alongside medical advice, not replace it.
Should I try a medicine I can buy online first?
No. See a doctor first. The NHS warns that online sellers may offer fake or unsuitable products.
This article is general education, not personal medical advice. If erection problems keep happening, or you have chest pain, breathlessness or other worrying symptoms, please see a qualified doctor.
Sources
- NHS, “Erectile dysfunction (impotence)” (checked 22 November 2026): https://www.nhs.uk/conditions/erection-problems-erectile-dysfunction/
- Saudi Ministry of Health, “Effects of Diabetes on Sexual Health” (page last modified 29 August 2023; checked 22 November 2026): https://www.moh.gov.sa/en/healthawareness/educationalcontent/diseases/diabetic/pages/effects-of-diabetes-on-sexual-health.aspx
