Erectile dysfunction may develop for many different reasons, including vascular health, diabetes, stress, hormonal changes, prostate surgery, medication use or lifestyle factors. When symptoms continue or become recurrent, specialist evaluation is important to understand the underlying cause.