NO is produced by the enzyme NO synthase (NOS).  NOS plays many roles, ranging from homeostasis to immune system regulation. To date, 3 subtypes have been identified: nNOS, iNOS, and eNOS, which are produced by the genes NOS1, NOS2, and NOS3, respectively. This nomenclature is derived from the sources of the original isolates: neuronal tissue (nNOS), immunoactivated macrophage cell lines (iNOS), and vascular endothelium (eNOS). The subtypes are not, however, limited to the tissues from which they were first isolated.
At the present time, it is suggested that androgen replacement should take the form of natural testosterone. Some of the effects of testosterone are mediated after conversion to estrogen or dihydrotestosterone by the enzymes aromatase and 5a-reductase enzymes respectively. Other effects occur independently of the traditional action of testosterone via the classical androgen receptor- for example, its action as a vasodilator via a cell membrane action as described previously. It is therefore important that the androgen used to treat hypogonadism is amenable to the action of these metabolizing enzymes and can also mediate the non-androgen receptor actions of testosterone. Use of natural testosterone ensures this and reduces the chance of non-testosterone mediated adverse effects. There are now a number of testosterone preparations which can meet these recommendations and the main factor in deciding between them is patient choice.
The primary nerve fibers to the penis are from the dorsal nerve of the penis, a branch of the pudendal nerve. The cavernosal nerves are a part of the autonomic nervous system and incorporate both sympathetic and parasympathetic fibers. They travel posterolaterally along the prostate and enter the corpora cavernosa and corpus spongiosum to regulate blood flow during erection and detumescence. The dorsal somatic nerves are also branches of the pudendal nerves. They are primarily responsible for penile sensation. 
show that total testosterone levels increase after exercising, especially after resistance training. Low testosterone levels can affect your sex drive and your mood. The good news is that exercise improves mood and stimulates brain chemicals to help you feel happier and more confident. Exercise also boosts energy and endurance, and helps you to sleep better. Fitness experts recommend 30 minutes of exercise every day.
The association between low testosterone and ED is not entirely clear. Although these 2 processes certainly overlap in some instances, they are distinct entities. Some 2-21% of men have both hypogonadism and ED; however, it is unclear to what degree treating the former will improve erectile function.  About 35-40% of men with low testosterone see an improvement in their erections with testosterone replacement; however, almost 65% of these men see no improvement. 
The mechanism of age related decreases in serum testosterone levels has also been the subject of investigation. Metabolic clearance declines with age but this effect is less pronounced than a reduction in testosterone production, so the overall effect is to reduce serum testosterone levels. Gonadotrophin levels rise during aging (Feldman et al 2002) and testicular secretory responses to recombinant human chorionic gonadotrophin (hCG) are reduced (Mulligan et al 1999, 2001). This implies that the reduced production may be caused by primary testicular failure but in fact these changes are not adequate to fully explain the fall in testosterone levels. There are changes in the lutenising hormone (LH) production which consist of decreased LH pulse frequency and amplitude, (Veldhuis et al 1992; Pincus et al 1997) although pituitary production of LH in response to pharmacological stimulation with exogenous GnRH analogues is preserved (Mulligan et al 1999). It therefore seems likely that there are changes in endogenous production of GnRH which underlie the changes in LH secretion and have a role in the age related decline in testosterone. Thus the decreases in testosterone levels with aging seem to reflect changes at all levels of the hypothalamic-pituitary-testicular axis. With advancing age there is also a reduction in androgen receptor concentration in some target tissues and this may contribute to the clinical syndrome of LOH (Ono et al 1988; Gallon et al 1989).
During the second trimester, androgen level is associated with sex formation. This period affects the femininization or masculinization of the fetus and can be a better predictor of feminine or masculine behaviours such as sex typed behaviour than an adult's own levels. A mother's testosterone level during pregnancy is correlated with her daughter's sex-typical behavior as an adult, and the correlation is even stronger than with the daughter's own adult testosterone level.
Diabetes is an example of an endocrine disease that can cause a person to experience impotence. Diabetes affects the body’s ability to utilize the hormone insulin. One of the side effects associated with chronic diabetes is nerve damage. This affects penis sensations. Other complications associated with diabetes are impaired blood flow and hormone levels. Both of these factors can contribute to impotence.