As with most other organ system in the human body, changes and loss of function is normal consequence of the ageing process. This is also true of the endocrine system, specifically the levels of testosterone production from the Leydig cells of the testicle. Accompanying the decrease in testosterone is a decrease in erections which also has a component in decrease in the blood supply to the penis making erection not as frequent and not as rigid compared with a young man’s erectile function. Although these changes are in itself not life threatening, they can impact a man’s relationship with his partner, and also ED may be a harbinger of other undiagnosed conditions such as coronary artery disease (CAD), hypercholesterolaemia or diabetes mellitus.6
One report from a recent community survey concluded that erectile failure was the leading complaint of males attending sex therapy clinics. Other studies have shown that erectile disorders are the primary concern of sex therapy patients in treatment. This is consistent with the view that erectile dysfunction may be associated with depression, loss of self-esteem, poor self-image, increased anxiety or tension with one's sexual partner, and/or fear and anxiety associated with contracting sexually transmitted diseases, including AIDS.
It appears that testosterone has NOS-independent pathways as well. In one study, castrated rats were implanted with testosterone pellets and then divided into a group that received an NOS inhibitor (L-nitro-L-arginine methyl ester [L-NAME]) and a control group that received no enzyme.  The castrated rats that were given testosterone pellets and L-NAME still had partial erections, a result suggesting the presence of a pathway independent of NOS activity.
Having erection trouble from time to time isn't necessarily a cause for concern. If erectile dysfunction is an ongoing issue, however, it can cause stress, affect your self-confidence and contribute to relationship problems. Problems getting or keeping an erection can also be a sign of an underlying health condition that needs treatment and a risk factor for heart disease.