While testosterone stimulates a man’s sex drive, it also aids in achieving and maintaining an erection. Testosterone alone doesn’t cause an erection, but it stimulates receptors in the brain to produce nitric oxide. Nitric oxide is a molecule that helps trigger a series of chemical reactions necessary for an erection to occur. When testosterone levels are too low, a man may have difficulty achieving an erection prior to sex or having spontaneous erections (for example, during sleep).

Among the changes which occur with aging are those that affect several aspects of the endocrine system which reduces its secretions to varying degrees in different individuals. These reductions in secretions are identified by a poor but widely recognized appellation, the “pauses”: menopause (decreased ovarian function), adrenopause (decreased adrenal function, especially with regard to dehydroepiandrosterone secretion), somatopause (decreased growth hormone production), andropause (decreased hypothalamic-pituitary testicular function with diminished testosterone availability and impaired spermatogenesis) (Lamberts 1997).

Consume vegetable carbohydrates and healthy fats. Your body requires the carbohydrates from fresh vegetables rather than grains and sugars. In addition to mono- or polyunsaturated fats found in avocados and raw nuts, saturated fats are also essential to building your testosterone production. According to research, there was a decrease in testosterone stores in people who consumed a diet low in animal-based fat.11 Aside from avocados and raw nuts, ideal sources of healthy fat that can boost your testosterone levels include:
So if you’re intent on maximizing your testosterone levels, and/or you have applied all of the above and you’re still not satisfied with your results (which would be surprising) then you could try the below. I will point out that some of these tips may not have the scientific evidence to back them up like the previous points, but I can assure you that either I have or do use them (and have positive results), or a client has used them with pleasing results, or finally it is such a new conception that there isn’t enough evidence to prove it one way or another.

In order to discuss the biochemical diagnosis of hypogonadism it is necessary to outline the usual carriage of testosterone in the blood. Total serum testosterone consists of free testosterone (2%–3%), testosterone bound to sex hormone binding globulin (SHBG) (45%) and testosterone bound to other proteins (mainly albumin −50%) (Dunn et al 1981). Testosterone binds only loosely to albumin and so this testosterone as well as free testosterone is available to tissues and is termed bioavailable testosterone. Testosterone bound to SHBG is tightly bound and is biologically inactive. Bioavailable and free testosterone are known to correlate better than total testosterone with clinical sequelae of androgenization such as bone mineral density and muscle strength (Khosla et al 1998; Roy et al 2002). There is diurnal variation in serum testosterone levels with peak levels seen in the morning following sleep, which can be maintained into the seventh decade (Diver et al 2003). Samples should always be taken in the morning before 11 am to allow for standardization.
My favorite overall tool to manage stress is EFT (Emotional Freedom Technique), which is like acupuncture without the needles. It's a handy, free tool for unloading emotional baggage quickly and painlessly, and so easy that even children can learn it. Other common stress-reduction tools with a high success rate include prayer, meditation, laughter and yoga, for example. Learning relaxation skills, such as deep breathing and positive visualization, which is the "language" of the subconscious.
Scientists in Italy found that subjects who consumed roughly 3 grams of D-AA for 12 days observed a 42 percent increase in testosterone levels.[12] The researchers also noted that the D-AA group still had 22 percent more testosterone than the placebo group three days after they stopped supplementing. Conversely, a more recent article published in Nutrition Research found no increase in testosterone levels in resistance-trained males after supplementing with 3 grams of D-AA for 28 days.[13]

As blood levels of testosterone increase, this feeds back to suppress the production of gonadotrophin-releasing hormone from the hypothalamus which, in turn, suppresses production of luteinising hormone by the pituitary gland. Levels of testosterone begin to fall as a result, so negative feedback decreases and the hypothalamus resumes secretion of gonadotrophin-releasing hormone. 
Although some men believe that taking testosterone medications may help them feel younger and more vigorous as they age, few rigorous studies have examined testosterone therapy in men who have healthy testosterone levels. And some small studies have revealed mixed results. For example, in one study healthy men who took testosterone medications increased muscle mass but didn't gain strength.
×