Erectile dysfunction (ED) is common in men of all ages, and it can occur when they are stressed. Progressive and frequent ED, on the other hand, may indicate a health problem that necessitates medical attention.