The PDE5 inhibitors sildenafil (Viagra), vardenafil (Levitra) and tadalafil (Cialis) are prescription drugs which are taken orally.:20–21 Additionally, a cream combining alprostadil with the permeation enhancer DDAIP has been approved in Canada as a first line treatment for erectile dysfunction. Penile injections, on the other hand, can involve one of the following medications: papaverine, phentolamine, and prostaglandin E1, also known as alprostadil.:25
Patients with both ED and cardiovascular disease who receive treatment with an oral PDE5 inhibitor require education regarding what to do if anginal episodes develop while the drug is in their system. Such education includes stressing the importance of alerting emergency care providers to the presence of the drug so that nitrate treatment is avoided.
Despite how many men want to think that their dick has some autonomous powers of decision making, it all comes back to the brain, and if your brain is firing off stress signals, then your penis is going to need more than just mucho volition to come to life. Erections start in your head. Be it something you smell, feel, or see, it's all about the chemicals up top sending signals down there.
Exercise and lifestyle modifications may improve erectile function. Weight loss may help by decreasing inflammation, increasing testosterone, and improving self-esteem. Patients should be educated to increase activity, reduce weight, and stop smoking, as these efforts can improve or restore erectile function in men without comorbidities. Precise glycemic control in diabetic patients and pharmacologic treatment of hypertension may be important in preventing or reducing sexual dysfunction. 
The mechanisms by which testosterone plays a role in erectile function are not completely understood. A study evaluating the effect of testosterone on erections in surgically castrated rabbits and control animals, in which the rabbits’ intracavernosal pressures were compared after cavernosal nerve stimulation, determined that castrated rabbits had much lower pressures after stimulation than control rabbits did.  Notably, the pressures increased when castrated rabbits received exogenous testosterone replacement.
Neurogenic erectile dysfunction (NED) is a traditional classification of erectile dysfunction (ED) encompassing disorders impairing erections via neurologic compromise or dysfunction. The disorders compromising erections may act centrally, peripherally or both. The prevalence of neurogenic ED has been suspected to be between 10% and 19% of all causes of ED (1,2). However, several classically defined neurogenic processes may affect several components of the normal pathway to achieve erection e.g., multiple sclerosis (MS), diabetes mellitus, iatrogenic surgical and spinal cord injury. Each disease state has its own unique characteristics that require acknowledgement to fully understand their effect on ED.
Sexual dysfunction is highly prevalent in men and women. In the MMAS, 52% of the respondents reported some degree of erectile difficulty. Complete ED, defined as (1) the total inability to obtain or maintain an erection during sexual stimulation and (2) the absence of nocturnal erections, occurred in 10% of the respondents. Mild and moderate ED occurred in 17% and 25% of responders, respectively. 
Alprostadil is a potent vasodilator and smooth muscle relaxant identical to the naturally occurring PGE1. PGE1 binds with specific receptors on smooth muscle cells and activates intracellular adenylate cyclase to produce cAMP, which in turn induces tissue relaxation through a second messenger system (96). PGE1 is the only FDA approved form of intracavernosal therapy and is available commercailly as EDEX, or Caverject. Its efficacy was demonstrated in several clinical trials where the rate of responders ranged from 40% to 80% (97,98). The most common adverse event is penile pain, which is not related to the injection of the medication itself. In men with prolonged use the pain is usually self-limited (99).
Recognized risk factors for ED include cardiovascular disease (CVD) (hypertension, atherosclerosis, and hyperlipidemia), diabetes, depression, alcohol use, smoking, pelvic/perineal surgery or trauma, neurologic disease, obesity, pelvic radiation, and Peyronie’s disease. One study suggested that the relationship between arterial disease and ED is very strong, with 49% (147 of 300) of patients with coronary artery disease noted on cardiac catheterization reporting significant erectile dysfunction.6 Endothelial dysfunction has been indicated as the pathophysiologic mechanism responsible for both CVD and ED.7 The Boston Area Community Health survey demonstrated a dose-response between smoking and incidence of erectile dysfunction.8 Animal studies have demonstrated both smooth-muscle disruption and decreased production of neural nitric oxide synthase in cigarette-exposed animals.9
Garlic is considered to help effectively in dealing with the impotence and ED problems because it has high levels of allicin which can help to improve blood flow and blood circulation. A small research of Dr. Graham Jackson, consultant cardiologist at Guys and St Thomas’ NHS Trust discovered that consuming 4 cloves of garlic every day for 3 months can help much in improving the erection in 6 out of 7 volunteers struggling with impotence.
Alprostadil (also known as prostaglandin E1 [PGE1]) is the prominent known smooth-muscle dilator of the corpus cavernosum. Its mechanism of action is believed to be the promotion of intracellular accumulation of cyclic adenosine monophosphate, thereby causing decreased intracellular accumulation of calcium and resulting smooth muscle relaxation. Alprostadil can be delivered to the erectile tissue either via an intraurethral suppository that is massaged and then absorbed across the corpus spongiosum of the urethra to the corpora cavernosa, or directly injected into the corpora cavernosa. When administered urethrally, doses are substantially higher than when directly injected (typical dosing is 500 mcg to 1 mg intraurethral compared with 2.5 mcg to 20 mcg intracavernosal).
When we say it’s a barometer of men’s health, it’s a signal. It’s an indicator that things may be right or not. And so when a man develops an erectile problem– and we’re talking about something that is occurring over time. It’s not something that just occurred overnight. When it occurs overnight, it’s more often than not a psychogenic, an anxiety reaction.
Conditions that may be associated with ED include diabetes, [25, 26, 27] hypertension,  , and CAD, as well as neurologic disorders, endocrinopathies, benign prostatic hyperplasia,  , sleep apnea  , COPD,  and depression (see Table 1 below). [32, 33, 34, 35] In fact, almost any disease may affect erectile function by altering the nervous, vascular, or hormonal systems. Various diseases may produce changes in the smooth muscle tissue of the corpora cavernosa or influence the patient’s psychological mood and behavior.
When stimulated by the nerves, the spongy tissue arranges itself in such a way that more blood can be stored in the penis. The veins running through the outer sheath of the penis then compress which stops the blood from leaving the penis. As the blood is stopped from flowing out, the penis fills with blood and stretches within the outer casing, giving an erection.
Oral PDE5i remains the first line treatment for NED from SCI. Three of the four PDE5i currently available in the U.S., avanafil excluded, have been investigated in the SCI, and all of the more recent studies have shown improvements in erectile function based on IIEF score compared to placebo when included (59-63). Other studies have also shown significant improvements in the IIEF score when compared to baseline (64-69). Furthermore, treatment efficacy when compared to placebo occurs despite LOI or American Spinal Injury Association (ASIA) score characterizing impairment related to the injury (59,61).
Specially designed vacuum devices to produce erections have been used successfully for many years. Vacuum devices are safe, relatively inexpensive, and reliable. Vacuum devices do not require surgery. Vacuum devices are available over the counter or by prescription. It is important to make sure that the vacuum device have a mechanism to prevent too high of a vacuum (negative pressure).
The link between chronic disease and ED is most striking for diabetes. Men who have diabetes are two to three times more likely to have erectile dysfunction than men who do not have diabetes. Among men with erectile dysfunction, those with diabetes may experience the problem as much as 10 to 15 years earlier than men without diabetes. Yet evidence shows that good blood sugar control can minimize this risk. Other conditions that may cause ED include cardiovascular disease, atherosclerosis (hardening of the arteries), kidney disease, and multiple sclerosis. These illnesses can impair blood flow or nerve impulses throughout the body.