Why it happens
Erections depend on healthy blood vessels, nerves and hormones. Common causes include diabetes, high blood pressure, high cholesterol, smoking, some medicines, low testosterone, and stress or anxiety. Often it is a mix.
A signal worth taking seriously
Because the blood vessels in the penis are small, erectile problems can show up years before heart disease. A good evaluation includes checking blood pressure, blood sugar and cholesterol.
Treatment options
| Option | Notes |
|---|---|
| Lifestyle changes | Exercise, weight loss, less alcohol and quitting smoking can improve erections |
| Pills (PDE5 inhibitors) | Sildenafil and tadalafil are the most common. Not safe with nitrate heart medicines |
| Treating low testosterone | Only if blood tests confirm it |
| Vacuum devices | No medicine involved |
| Injections | Medicine injected into the penis; works for many men when pills do not |
| Penile implant | A surgical option with high satisfaction for men who want a permanent solution |
About online prescriptions
Telehealth companies prescribe ED medicine after an online questionnaire. That can be convenient, but it may skip the checks for diabetes and heart disease. If you go that route, see your own doctor for those tests too.
Sources
Keep reading

Symptoms of low testosterone, how it should be tested, and the benefits and risks of treatment.
Read more
What overactive bladder is, simple steps that help, and medical treatments when those are not enough.
Read more
Common causes of night-time urination, from prostate and bladder issues to sleep apnea, and what helps.
Read more