Men of all ages can occasionally have erectile dysfunction (ED) when they are under stress. A medical practitioner must be consulted for therapy if the ED worsens over time and occurs frequently.