Erectile dysfunction may be caused by obesity, a poor diet, a lack of exercise, or smoking. ... Some of the causes for ED in young men include: performance anxiety when the man is too nervous to sustain an erection. depression, schizophrenia, and other psychological disorders.
(From Google)