Sexual functioning involves a complex interaction among biologic, sociocultural, and psychological factors, and the complexity of this interaction makes it difficult to ascertain the clinical etiology of sexual dysfunction. Before any diagnosis of sexual dysfunction is made, problems that are explained by a nonsexual mental disorder or other stressors must first be addressed. Thus, in addition to the criteria for erectile disorder, the following must be considered:
The somatosensory pathways for erections originate in the penile skin, glans and urethra. Glans afferent sensory free nerve endings are 10-fold more than their corpuscular receptors, and are derived from Aδ and unmyelinated C fibers. The nerve endings coalesce to form the dorsal penile nerve along with other sensory nerve fibers. Through the pudendal nerve they enter the S2-4 nerve roots to terminate on spinal neurons and interneurons. The dorsal nerve is not purely somatic, however. Nerve bundles within the dorsal nerve contain nitric oxide (NO) synthase, found typically in autonomic nerves, and stimulation of the sympathetic chain can leak to evoked potentials from the dorsal nerve and vice versa (10-12).
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. 
Counselling or sex therapy (58% of people find this works for them) –mind-related causes of erectile dysfunction can affect anyone. They are more likely if you experience erectile dysfunction at a younger age. Talking to a counsellor or therapist can help some people overcome erectile dysfunction related to these problems, possibly for good. They can also help you if your erectile dysfunction is causing you stress, as this can make matters worse.
When lifestyle changes alone don’t work, drug therapy (Viagra®, Cialis®, Levitra®, etc.) is normally the next step. Most of these medications work similarly to enhance a natural chemical in your body that relaxes the muscles in your penis. The goal of this medication is to increase your response to sexual stimulation by increasing the blood flow in your penis allowing you to get an erection.22
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.
The severity of ED has been correlated with the extent of CVD. Banks et al reported that the risk of future CV events increased progressively according to ED severity.28 This was shown in both men with and without known CVD at baseline and after controlling for confounders. Solomon and colleagues found an inverse correlation between international index of erectile function (IIEF) scores and plaque burden seen on coronary angiography.29 In addition, Yaman et al demonstrated a significant correlation between ED severity on IIEF questionnaires and coronary artery calcification.30
3. Testosterone replacement. Before oral medications like Viagra, testosterone was routinely used to treat erectile dysfunction as it is central in the male sexual response, including the desire for sex and the process of getting an erection. Testosterone can be administered in a number of ways, for example orally, by means of an injection, skin patch, or subcutaneous (under the skin) pellet.
Since the advent of PDE5i, many other selective and non-selective peripheral acting compounds have been developed or are in development. Avanafil has shown promising results in treating ED in post-prostatectomy patients with suspected cavernous nerve injury (111). Other PDE5i marked in Asia such as udenafil, and mirodenafil also effective at treating ED may minimize side effects due to shorter half-lives (112-114). Soluable guanylate-cyclase inhibitors and potassium channel activators are compounds that have induced erections in animal models but remain experimental requiring further investigation (115-117).
The Massachusetts Male Aging Study (MMAS) documented an inverse correlation between ED risk and high-density lipoprotein (HDL) cholesterol levels but did not identify any effect from elevated total cholesterol levels.  Another study involving male subjects aged 45-54 years found a correlation with abnormal HDL cholesterol levels but also found a correlation with elevated total cholesterol levels. The MMAS included a preponderance of older men.
There are hundreds of medications that have the side effect of ED and/or decreased libido. Examples of drugs implicated as a cause of ED include hydrochlorothiazides and beta-blocking agents. Medications used to treat depression, particularly the SSRIs such as citalopram (Celexa), escitalopram (Lexapro), fluoxetine (Prozac, Prozac Weekly, Sarafem), fluvoxamine (Luvox, Luvox CR), paroxetine (Paxil, Paxil CR, Pexeva) and sertraline (Zoloft), may also contribute to ED.9 Bupropion (Wellbutrin) which has a predominant effect on blocking the reuptake of dopamine is an antidepressant with lower incidence of ED.10 The side effects of 5ARIs occurring in fewer than 5% of patients can include gynaecomastia, ED, loss of libido and ejaculatory dysfunction.11
A meta-analysis of 36 744 men with ED in 12 prospective cohort studies found that the presence of ED significantly increased the risk of CVD, CAD, stroke and all-cause mortality, and the presence of ED was an independent risk factor for CVD. Ponholzer et al found that men with moderate to severe ED had a 65% increased relative risk for developing symptomatic CAD compared with men who did not have ED.26
They are the same muscles you use to stop the flow of urine from the bladder. Next time you are urinating, you can intentionally cut off the stream (don't make this a regular or repetitive activity) to identify the correct muscles. Once you have identified them, try squeezing and holding as long as possible 10 times in a row, three times a day as an optimal regimen.
Since endothelial dysfunction, CVD and ED are closely associated in epidemiological studies, the question for clinicians is whether to recommend the man presenting with ED undergo a cardiovascular (CV) evaluation. Clearly, based on numerous studies, ED can be considered at least a ‘marker’ for possible further vascular disease or CVD.15 In their report, Vlachopoulos and coworkers make the point that the man presenting with ED, the clinician, is offered an opportunity to attempt to improve the health of the man by addressing lifestyle modification, and consider further vascular evaluation owing to the clear relationship between endothelial dysfunction, ED and CVD.19
Then you have to be able to make the right diagnosis. What is the basis for their erectile dysfunction? Is it psychogenic? Is it some sort of neurological or blood vessel or hormonal issue? So you have to make a diagnosis. You have to be able to make an assessment. And then only after those things are done, then you start to think about medications.
The first step in treating the patient with ED is to take a thorough sexual, medical, and psychosocial history. Questionnaires are available to assist clinicians in obtaining important patient data. (See Presentation.) Successful treatment of sexual dysfunction has been demonstrated to improve sexual intimacy and satisfaction, improve sexual aspects of quality of life, improve overall quality of life, and relieve symptoms of depression. (See Treatment.)
However, in contrast, a recent systematic review of published studies, the authors concluded that overall, the addition of testosterone to PDE-5 inhibitors might benefit patients with ED associated with testosterone levels of less than 300 ng/dL (10.4 nmol/L) who failed monotherapy.  A limitation of existing studies are their heterogeneous nature and methodological drawbacks.
The observation that TRT enhances the efficacy of PDE5 inhibitors in hypogonadal men taking these therapies with suboptimal response to the PDE5 inhibitors alone has been reported.33 In addition, investigators have demonstrated that TRT in hypogonadal men can improve erectile function even without the benefit of PDE5 inhibitors.33 In addition, guidelines for managing ED in hypogonadal men by the European Association of Urology recommend controlling the man to a eugonadal state prior to initiation of PDE5 inhibitor therapy.36 Testosterone measurement consists of a serum specimen which should be ideally obtained in the morning because of the normal diurnal variation of testosterone which is at its peak in the morning. Since TRT is relatively safe, and men can potentially see an improvement in erectile function, it seems prudent to consider this issue when presented with a patient suffering from ED.
The American Urological Association Guideline on the Management of ED states oral PDE5i are considered first line therapy for the treatment of ED, unless contraindicated (57). Sildenafil, the first oral PDE5i, was introduced in 1998 and has revolutionized ED therapy due to its broad applicability, effectiveness and safety profile. PDE5i work by preventing hydrolysis of cGMP by the PDE5 enzyme in the smooth muscle of the corpora cavernosa. cGMP degradation typically leads to smooth muscle contraction and detumescence prevented by PDE5i administration. Two other PDE5i, vardenafil and tadalafil are other PDE5i with different pharmacokinetics, PDE receptor selectivity and side effect profiles.
Move a muscle, but we're not talking about your biceps. A strong pelvic floor enhances rigidity during erections and helps keep blood from leaving the penis by pressing on a key vein. In a British trial, three months of twice-daily sets of Kegel exercises (which strengthen these muscles), combined with biofeedback and advice on lifestyle changes — quitting smoking, losing weight, limiting alcohol — worked far better than just advice on lifestyle changes.
Sexual dysfunction and ED become more common as men age. The percentage of complete ED increases from 5% to 15% as age increases from 40 to 70 years. But this does not mean growing older is the end of your sex life. ED can be treated at any age. Also, ED may be more common in Hispanic men and in those with a history of diabetes, obesity, smoking, and hypertension. Research shows that African-American men sought medical care for ED twice the rate of other racial groups.