The major risk factors for erectile dysfunction are:
Being overweight
Smoking
Stress/Anxiety/Depression
Diabetes
Heart Conditions
Excessive alcohol consumption