Hypogonadism (as well as age-related low testosterone) is diagnosed with blood tests that measure the level of testosterone in the body. The Endocrine Society recommends testing for suspected low T with a total testosterone test. It may be performed in the morning when testosterone levels tend to be highest in young men, although this isn't necessarily the case in older men. The test may be repeated on another day if the results show a low T level. (5)
With sex therapy, your counselor looks at the sexual problems you and your partner are having. Sex therapy works with problems such as performance anxiety, which means that you worry so much about whether you will be able to have sex that you are not able to. It also helps when you have erection problems that are not due to physical or drug problems, or premature ejaculation (you come too quickly). It may help you to reach orgasm or to learn to relax enough to avoid pain during sex. Counseling can help you to adjust to the treatment you and your doctor choose.
Both ED and low testosterone (hypogonadism) increase with age. The incidence of the latter is 40% in men aged 45 years and older.  Testosterone is known to be important in mood, cognition, vitality, bone health, and muscle and fat composition. It also plays a key role in sexual dysfunction (eg, low libido, poor erection quality, ejaculatory or orgasmic dysfunction, reduced spontaneous erections, or reduced sexual activity). 
Male hypogonadism becomes more common with increasing age and is currently an under-treated condition. The diagnosis of hypogonadism in the aging male requires a combination of symptoms and low serum testosterone levels. The currently available testosterone preparations can produce consistent physiological testosterone levels and provide for patient preference.