Erectile Dysfunction: Causes, Symptoms & Treatment
Understand erectile dysfunction causes, symptoms and proven treatments. Get discreet online consultations and e-prescriptions from licensed doctors in Spain.
Dr. James Mitchell
Medical Professional

🩺 Understanding Erectile Dysfunction: Causes, Symptoms and Treatment
Erectile dysfunction (ED) is one of the most common sexual health conditions men face — and one of the most treatable. Research from the Cleveland Clinic estimates that ED affects over 50% of men between the ages of 40 and 70, and the true prevalence may be even higher because many men do not seek help due to embarrassment.
The good news is that effective treatments exist, and in most cases a doctor can help you regain normal sexual function. If you're in Spain and want a discreet, convenient first step, book an online consultation with UrgentDoc — speak to an experienced, licensed doctor via secure video without leaving home.
⚠️ Medical disclaimer: This article is for informational purposes only and does not replace professional medical advice, diagnosis or treatment. Always consult a qualified healthcare provider about your individual circumstances.
🔹 What Is Erectile Dysfunction?
Erectile dysfunction is the persistent inability to achieve or maintain an erection firm enough for satisfactory sexual activity. According to the NHS, it becomes a medical concern when it happens regularly over several weeks or months — occasional difficulty is very common and usually nothing to worry about.
ED is not the same as low libido (reduced sex drive). A man may have normal desire but still struggle with erections due to physical or psychological factors. It is also distinct from premature ejaculation, though the two conditions can sometimes occur together.
Understanding the difference matters because the underlying cause determines the most effective treatment approach.
🔹 Common Symptoms of Erectile Dysfunction
Men experiencing ED may notice one or more of the following:
- Difficulty getting an erection during sexual activity
- Erections that are not firm enough for penetration
- Erections that do not last long enough to complete intercourse
- Reduced or absent morning erections (nocturnal erections)
- Needing significantly more stimulation than usual to achieve an erection
- Reduced confidence or avoidance of sexual situations
The Mayo Clinic notes that these symptoms often worsen over time if the underlying cause is not addressed. ED can also be an early warning sign of cardiovascular disease, which is why a medical evaluation is important.
🔹 Causes of Erectile Dysfunction
ED usually results from a combination of physical, psychological and lifestyle factors. Identifying the root cause is essential for choosing the right treatment.
Physical Causes
Vascular ED — caused by problems with blood flow — is the most common type. Physical causes include:
- Cardiovascular disease: High blood pressure, high cholesterol and atherosclerosis reduce blood flow to the penis
- Diabetes: Both type 1 and type 2 diabetes damage nerves and blood vessels over time. According to the Cleveland Clinic, diabetes is one of the biggest risk factors for ED
- Hormonal imbalances: Low testosterone levels can affect libido and erectile function
- Neurological conditions: Parkinson's disease, multiple sclerosis or spinal cord injuries can interrupt nerve signals
- Prostate surgery or radiation therapy: Treatments for prostate conditions can damage nerves involved in erections
- Peyronie's disease: Scar tissue inside the penis can cause painful or curved erections
- Medications: Antidepressants, beta-blockers, diuretics, antihistamines and some prostate drugs list ED as a potential side effect
Psychological Causes
The brain plays a key role in triggering the physical events that produce an erection. Psychological factors that can cause or worsen ED include:
- Performance anxiety: Particularly common in younger men or at the start of new relationships
- Depression: Affects both desire and the physiological ability to achieve erection
- Stress: Work, financial or relationship-related stress
- Relationship problems: Unresolved conflicts, communication issues or lack of emotional intimacy
In many cases, the cause is both physical and psychological. For instance, a minor physical issue that slows sexual response can trigger performance anxiety, which in turn makes ED worse — creating a vicious cycle.
Lifestyle Risk Factors
The following lifestyle factors are strongly associated with ED:
- Smoking — damages blood vessels and reduces blood flow. The NHS lists quitting smoking as one of the most effective lifestyle changes for ED
- Excessive alcohol consumption — more than 14 units per week increases risk
- Obesity — a BMI over 25 is a documented risk factor
- Physical inactivity — lack of exercise impairs cardiovascular health
- Recreational drug use — cocaine, cannabis, opioids and amphetamines can all contribute to ED
🔹 When Should You See a Doctor About ED?
Consult a doctor promptly if:
- ED persists for more than a few weeks
- You have diabetes, heart disease or other chronic conditions — ED may signal worsening cardiovascular health
- ED is causing significant distress, anxiety or strain on your relationship
- You notice other symptoms such as pain during intercourse or changes in urination
Seek emergency care immediately if you experience an erection lasting more than four hours (priapism), chest pain, sudden vision or hearing loss, or shortness of breath.
💬 You don't need to wait for a face-to-face appointment. Book an online consultation with UrgentDoc to speak with a licensed doctor discreetly from anywhere in Spain.
🔹 How Is Erectile Dysfunction Diagnosed?
A doctor will typically:
- Take a detailed medical history — including current medications, chronic conditions, lifestyle habits and mental health
- Ask about your symptoms — how often they occur, when they started, and whether you still get morning erections
- Perform or arrange a physical examination — to check blood pressure, heart health and genital health
- Order blood tests if needed — these may include testosterone levels, blood glucose, cholesterol panel, liver and thyroid function
At UrgentDoc, our online erectile dysfunction consultations cover steps 1 and 2 via secure video. If blood tests or a physical exam are recommended, your doctor will guide you to a local laboratory or clinic in Spain.
🔹 Treatment Options for Erectile Dysfunction
Treatment depends on the cause, severity and your personal preferences. Most men see significant improvement with the right approach. The Mayo Clinic confirms that the condition is highly treatable in the majority of cases.
Lifestyle Changes
For many men — especially those with mild ED — lifestyle modifications alone can make a meaningful difference:
- Exercise regularly: Vigorous cardiovascular exercise (brisk walking, jogging, swimming) for at least 30–45 minutes, three or more times per week, has been shown to improve erectile function
- Lose excess weight: Reducing your BMI improves blood flow and can boost testosterone levels
- Quit smoking: Stopping tobacco use can lead to measurable improvement in blood vessel health within weeks
- Limit alcohol: Keep consumption below 14 units per week
- Manage stress: Mindfulness techniques, therapy or counselling can break the anxiety–ED cycle
- Improve sleep quality: Poor sleep is linked to lower testosterone and worse sexual function
Oral Medications (PDE5 Inhibitors)
PDE5 inhibitors are the most widely prescribed first-line treatment for ED. They work by enhancing blood flow to the penis in response to sexual stimulation.
<table style="width:100%; border-collapse:collapse; margin:1.5rem 0;"> <thead> <tr style="background-color:#f0f4f8;"> <th style="padding:12px; border:1px solid #ddd; text-align:left;">Medication</th> <th style="padding:12px; border:1px solid #ddd; text-align:left;">Brand Name</th> <th style="padding:12px; border:1px solid #ddd; text-align:left;">Onset</th> <th style="padding:12px; border:1px solid #ddd; text-align:left;">Duration</th> <th style="padding:12px; border:1px solid #ddd; text-align:left;">Key Notes</th> </tr> </thead> <tbody> <tr> <td style="padding:12px; border:1px solid #ddd;"><strong>Sildenafil</strong></td> <td style="padding:12px; border:1px solid #ddd;">Viagra</td> <td style="padding:12px; border:1px solid #ddd;">30–60 min</td> <td style="padding:12px; border:1px solid #ddd;">4–6 hours</td> <td style="padding:12px; border:1px solid #ddd;">Best taken on an empty stomach; most studied</td> </tr> <tr style="background-color:#f9f9f9;"> <td style="padding:12px; border:1px solid #ddd;"><strong>Tadalafil</strong></td> <td style="padding:12px; border:1px solid #ddd;">Cialis</td> <td style="padding:12px; border:1px solid #ddd;">30–45 min</td> <td style="padding:12px; border:1px solid #ddd;">Up to 36 hours</td> <td style="padding:12px; border:1px solid #ddd;">Can be taken daily at low dose; not affected by food</td> </tr> <tr> <td style="padding:12px; border:1px solid #ddd;"><strong>Vardenafil</strong></td> <td style="padding:12px; border:1px solid #ddd;">Levitra</td> <td style="padding:12px; border:1px solid #ddd;">30–60 min</td> <td style="padding:12px; border:1px solid #ddd;">4–6 hours</td> <td style="padding:12px; border:1px solid #ddd;">Similar to sildenafil; avoid high-fat meals</td> </tr> <tr style="background-color:#f9f9f9;"> <td style="padding:12px; border:1px solid #ddd;"><strong>Avanafil</strong></td> <td style="padding:12px; border:1px solid #ddd;">Spedra</td> <td style="padding:12px; border:1px solid #ddd;">15–30 min</td> <td style="padding:12px; border:1px solid #ddd;">6–12 hours</td> <td style="padding:12px; border:1px solid #ddd;">Fastest onset; fewer side effects reported</td> </tr> </tbody> </table>According to the NHS, sildenafil is available on prescription or can be purchased from a pharmacy, while the other PDE5 inhibitors require a prescription. These medications are effective for approximately 70–80% of men.
Important: Never purchase ED medications online without a proper medical consultation. Counterfeit medications are a serious health risk. Always obtain a prescription from a qualified doctor.
If you're in Spain, UrgentDoc doctors can assess your suitability and issue an e-prescription for ED medication that you can fill at any local pharmacy.
Testosterone Replacement Therapy
If blood tests confirm low testosterone (hypogonadism), testosterone replacement therapy may be recommended. This is available as gels, injections, patches or pellets. However, testosterone therapy alone does not always resolve ED — it is most effective when low testosterone is the primary cause.
Psychological and Relationship Therapy
For men whose ED has a psychological component, psychosexual therapy or cognitive behavioural therapy (CBT) can be highly effective. A therapist can help address:
- Performance anxiety
- Depression or stress contributing to ED
- Communication and intimacy issues within a relationship
Other Medical Options
For men who do not respond to oral medications, additional options include:
- Vacuum erection devices (penis pumps): A non-drug option that works almost immediately by drawing blood into the penis
- Penile injections: Medications such as alprostadil injected directly into the penis, effective within 10 minutes
- Urethral pellets (MUSE): A small pellet inserted into the urethra
- Penile implants: A surgical option for men who have not responded to other treatments — highly effective but reserved for severe cases
- Shockwave therapy (LiSWT): A newer, noninvasive option that uses sound waves to improve blood flow
Your doctor will help determine which option is most appropriate based on your medical history, the cause of your ED and your personal preferences.
🔹 How Online Doctors in Spain Can Help with ED
Telemedicine is particularly well suited to ED because many men find it easier to discuss sensitive topics from the privacy of their own home. At UrgentDoc, our sexual health consultations with licensed doctors include:
- A full medical history taken via secure, encrypted video
- Assessment of symptoms, risk factors and current medications
- Guidance on blood tests (testosterone, cholesterol, blood sugar) if needed — with referral to a local laboratory
- Discussion of lifestyle advice and suitable treatment options
- Prescription of medication when clinically appropriate, sent electronically to your chosen Spanish pharmacy
Telemedicine consultations are available in English and Spanish, making UrgentDoc a convenient option for expats and tourists as well as residents.
When Telemedicine Is Not Enough
It's important to be transparent: some cases of ED require in-person examination, specialist referral or diagnostic imaging. Your UrgentDoc doctor will always tell you if a face-to-face visit is needed and help you arrange it.
🔹 The Emotional Impact of ED
Erectile dysfunction affects more than physical health. Many men experience:
- Reduced self-confidence and self-esteem
- Avoidance of intimacy or new relationships
- Anxiety, frustration or feelings of inadequacy
- Strain on existing relationships
Partners are also affected. Open communication is one of the most important steps. If you or your partner are struggling emotionally, speaking to a doctor can be the first step towards both physical and emotional recovery.
For more on managing stress and mental wellbeing, see our guide: Mental Health in the Digital Age: Balancing Technology and Wellbeing.
❓ Frequently Asked Questions
Is erectile dysfunction a normal part of ageing?
Occasional difficulty with erections becomes more common with age, but persistent ED is not a normal or inevitable part of ageing. The Mayo Clinic confirms that ED is treatable at any age and is often a sign of an underlying condition that should be investigated.
Can stress alone cause erectile dysfunction?
Yes, particularly performance anxiety, which is common in younger men. However, the Cleveland Clinic notes that ongoing ED usually has physical contributors as well, so a medical evaluation is always recommended.
How quickly do ED medications work?
PDE5 inhibitors such as sildenafil typically work within 30–60 minutes. Avanafil (Spedra) can work in as little as 15 minutes. Lifestyle changes such as exercise and weight loss take weeks to months to show improvement.
Will erectile dysfunction go away on its own?
According to the Cleveland Clinic, ED is unlikely to resolve on its own without lifestyle changes or treatment. Early intervention generally leads to better outcomes.
Can I get ED treatment online in Spain as a tourist?
Yes. UrgentDoc serves both residents and visitors to Spain with valid ID. After an online video consultation, your doctor can issue an e-prescription that works at any pharmacy in Spain. Book your consultation here.
Is ED a sign of heart disease?
It can be. Because erections depend on healthy blood flow, ED is sometimes the first noticeable symptom of cardiovascular problems such as atherosclerosis. The Mayo Clinic recommends that men with ED be evaluated for cardiovascular risk factors.
Are ED medications safe?
PDE5 inhibitors are safe for most men when prescribed by a doctor. They should not be taken with nitrate medications (used for angina) or by men with certain heart conditions. Your doctor will assess your suitability before prescribing.
Can cycling cause erectile dysfunction?
The NHS advises that cycling for more than three hours per week may contribute to ED due to pressure on the perineum. Adjusting your saddle height or using a specialist saddle can help reduce this risk.
🔹 Next Steps: Get Help Discreetly Today
Erectile dysfunction is common, treatable and nothing to be ashamed of. The sooner you seek help, the more treatment options are available to you.
👉 Ready to take the first step? Book your confidential UrgentDoc online consultation now. Speak to a doctor within minutes, get personalised advice and — if appropriate — receive an e-prescription sent directly to your local pharmacy. All from the privacy of your home, anywhere in Spain.
For related men's health topics, you may also find our guide on male hair loss and treatment options helpful.


