A common and important cause of ED is vasculogenic. Many men with ED have comorbid conditions such as hyperlipidemia, hypercholesterolemia, tobacco abuse, diabetes mellitus, or coronary artery disease (CAD).  The Princeton III Consensus recommends screening men who present with ED for cardiovascular risk factors; ED may be the earliest presentation of atherosclerosis and vascular disease. 
Dr. Wyne, in Houston, said, "When I hear a catchy little phrase, or someone is trying to get us to use a drug that is not based on clinical data, the cynical part of me asks where did it come from." She added, "There is a very important role for testosterone replacement therapy. It's wonderful that we have all these options, but we need to be using them appropriately, in a safe and efficacious manner."
Clinical trials of the effect of testosterone on glucose metabolism in men have occurred in diabetic and non-diabetic populations. Data specific to aging males is not available. A series of studies investigated the effects of testosterone or dihydrotestosterone given for 6 weeks or 3 months to middle aged, non-diabetic obese men (Marin, Holmang et al 1992; Marin, Krotkiewski et al 1992; Marin et al 1993). It was found that physiological treatment doses led to improved insulin resistance, as measured by the gold standard technique using a euglycemic clamp and/or serum glucose and insulin responses during glucose tolerance test. These improvements were associated with decreased central obesity, measured by computered tomography (CT) or waist-hip ratio, without reduced total fat mass. Insulin resistance improved more with testosterone than dihydrotestosterone treatment and beneficial effects were greater in men with lower baseline testosterone levels. Increasing testosterone levels into the supraphysiological range lead to decreased glucose tolerance.
Oral/buccal (by mouth). The buccal dose comes in a patch that you place above your incisor (canine or "eyetooth"). The medication looks like a tablet but you should not chew or swallow it. The drug is released over 12 hours. This method has fewer harmful side effects on the liver than if the drug is swallowed, but it may cause headaches or cause irritation where you place it.
Performance anxiety can be another cause of impotence. If a person wasn’t able to achieve an erection in the past, he may fear he won’t be able to achieve an erection in the future. A person may also find he can’t achieve an erection with a certain partner. Someone with ED related to performance anxiety may be able to have full erections when masturbating or when sleeping, yet he isn’t able to maintain an erection during intercourse.
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.
Your doctor will ask you questions about your symptoms and health history. They may do tests to determine if your symptoms are caused by an underlying condition. You should expect a physical exam where your doctor will listen to your heart and lungs, check your blood pressure, and examine your testicles and penis. They may also recommend a rectal exam to check your prostate. Additionally, you may need blood or urine tests to rule out other conditions.
But when a premenopausal woman’s testosterone levels are too high, it can lead to polycystic ovary syndrome (PCOS), a condition that increases the risk of irregular or absent menstrual cycles, infertility, excess hair growth, skin problems, and miscarriage. High levels of testosterone in women, whether caused by PCOS or by another condition, can cause serious health conditions such as insulin resistance, diabetes, high cholesterol, high blood pressure, and heart disease. (12)
Overall, it seems that both estrogen and testosterone are important for normal bone growth and maintenance. Deficiency or failure of action of the sex hormones is associated with osteoporosis and minimal trauma fractures. Estrogen in males is produced via metabolism of testosterone by aromatase and it is therefore important that androgens used for the treatment of hypogonadism be amenable to the action of aromatase to yield maximal positive effects on bone. There is data showing that testosterone treatment increases bone mineral density in aging males but that these benefits are confined to hypogonadal men. The magnitude of this improvement is greater in the spine than in the hip and further studies are warranted to confirm or refute any differential effects of testosterone at these important sites. Improvements seen in randomized controlled trials to date may underestimate true positive effects due to relatively short duration and/or baseline characteristics of the patients involved. There is no data as yet to confirm that the improvement in bone density with testosterone treatment reduces fractures in men and this is an important area for future study.
Epidemiological evidence supports a link between testosterone and glucose metabolism. Studies in non-diabetic men have found an inverse correlation of total or free testosterone with glucose and insulin levels (Simon et al 1992; Haffner et al 1994) and studies show lower testosterone levels in patients with the metabolic syndrome (Laaksonen et al 2003; Muller et al 2005; Kupelian et al 2006) or diabetes (Barrett-Connor 1992; Andersson et al 1994; Rhoden et al 2005). A study of patients with type 2 diabetes using measurement of serum free testosterone by the gold standard method of equilibrium dialysis, found a 33% prevalence of biochemical hypogonadism (Dhindsa et al 2004). The Barnsley study demonstrated a high prevalence of clinical and biochemical hypogonadism with 19% having total testosterone levels below 8 nmol/l and a further 25% between 8–12 nmol/l (Kapoor, Aldred et al 2007). There are also a number longitudinal studies linking low serum testosterone levels to the future development of the metabolic syndrome (Laaksonen et al 2004) or type 2 diabetes (Haffner et al 1996; Tibblin et al 1996; Stellato et al 2000; Oh et al 2002; Laaksonen et al 2004), indicating a possible role of hypogonadism in the pathogenesis of type 2 diabetes in men. Alternatively, it has been postulated that obesity may be the common link between low testosterone levels and insulin resistance, diabetes and cardiovascular disease (Phillips et al 2003; Kapoor et al 2005). With regard to this hypothesis, study findings vary as to whether the association of testosterone with diabetes occurs independently of obesity (Haffner et al 1996; Laaksonen et al 2003; Rhoden et al 2005).
The vascular processes that produce an erection are controlled by the nervous system and certain prescription medications may have the side effect of interfering with necessary nerve signals. Among the possible culprits are a variety of stimulants, sedatives, diuretics, antihistamines, and drugs to treat high blood pressure, cancer, or depression. But never stop a medication unless your doctor tells you to. In addition, alcohol, tobacco, and illegal drugs, such as marijuana, may contribute to the dysfunction.
Over a 2-year period, a third of the men randomized to a weight loss program demonstrated resolution of erectile dysfunction.10 A Mediterranean diet and nutritional counseling reported increased erectile quality.18 Little evidence supports that increased physical activity alone improves erectile quality; however, the strong association between physical activity and lower BMI is well described, and therefore recommended for men with erectile dysfunction and without a contraindication to physical activity.
One study examined the role of testosterone supplementation in hypogonadal men with ED. These men were considered nonresponders to sildenafil, and their erections were monitored by assessing nocturnal penile tumescence (NPT). After these men were given testosterone transdermally for 6 months, the number of NPTs increased, as did the maximum rigidity with sildenafil.  This study suggests that a certain level of testosterone may be necessary for PDE5 inhibitors to function properly.