Surgical intervention for a number of conditions may remove anatomical structures necessary to erection, damage nerves, or impair blood supply. Erectile dysfunction is a common complication of treatments for prostate cancer, including prostatectomy and destruction of the prostate by external beam radiation, although the prostate gland itself is not necessary to achieve an erection. As far as inguinal hernia surgery is concerned, in most cases, and in the absence of postoperative complications, the operative repair can lead to a recovery of the sexual life of people with preoperative sexual dysfunction, while, in most cases, it does not affect people with a preoperative normal sexual life.
Treatment involves addressing the underlying causes, lifestyle modifications, and addressing psychosocial issues. In many cases, a trial of pharmacological therapy with a PDE5 inhibitor, such as sildenafil, can be attempted. In some cases, treatment can involve inserting prostaglandin pellets into the urethra, injecting smooth muscle relaxants and vasodilators into the penis, a penile prosthesis, a penis pump, or vascular reconstructive surgery.
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. 
Of the drugs used for depression, tricyclic antidepressants may be associated with erectile problems and other drugs may be substituted to prevent this complication. Currently available substitutes include bupropion, nefazodone, and trazodone. The selective serotonin reuptake inhibitors (eg, fluoxetine, sertraline, paroxetine, citalopram) can also cause difficulties with ED, but they might also have other significant sexual side effects, including decreased libido and anorgasmia.
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 Kenny du Toit is a urologist practicing in Rondebosch, Cape Town. He is also consultant at Tygerberg hospital, where he is a senior lecturer at Stellenbosch University. He is a member of the South African Urological Association, Colleges of Medicine South Africa and Société Internationale d’Urologie. Board registered with both the HPCSA (Health professions council of South Africa) and GMC (General medical council UK). He has a keen interest in oncology, kidney stones and erectile dysfunction.http://www.dutoiturology.co.za
Finally, gene therapy and stem cell research has widened the frontier of ED treatment proposed as possibility to even reverse ED. Specifically, gene therapy pertains to repairing the cause of ED by restoring defective gene function and/or altering the expression of the mutant gene (32). Most of the available data on gene therapy are in the animal model. However, a phase I clinical trial in men with ED undergoing intracavernous injection with a DNA plasmid carrying the alpha-subunit of the corporal smooth muscle Maxi-K channel showed promise in increased erectile function based on IIEF assessment sustained throughout the 3-month study period (122).
This penile tumescence monitor is placed at the base and near the corona of the penis. It is connected to a monitor that records a continuous graph depicting the force and duration of erections that occur during sleep. The monitor is strapped to the leg. The nocturnal penile tumescence test is conducted on several nights to obtain an accurate indication of erections that normally occur during the alpha phase of sleep.
Also called vacuum devices, penile pumps are devices that are placed over the penis to draw blood into the shaft. Once the vacuum creates an erection, the retaining band is slid down to the lower end of the penis and the pump is removed. An erection typically will last long enough for intercourse but your penis may be cold to the touch and the rubber band may restrict ejaculation.22
Chancellor et al. (109) compared VEDs with papaverine injections in 18 males with SCI. The injections and pumps were equally effective in inducing erections and no adverse effects from the treatments were reported. Treatment arms were crossed over, subsequently seven men chose the VED and seven men chose the papavarine highlighting equal efficacy in this population. In another treatment arm topical minoxidil was applied without any effective erections achieved by the study subjects.
Positron emission tomorgraphy (PET), and functional magnetic resonance imaging (fMRI) have led to a greater understanding to which center are activated during arousal. These imaging studies measure increases in cerebral blood flow or changes in cerebral activity on a real-time basis. Studies are performed when male subject are aroused by visual cues (usually sexual explicit photos or videos) and compared to images obtained during exposure to sexually neutral cues differences can be measured. Several studies have identified that the inferior frontal lobes, inferior temporal lobes and insular gyrus, and occipital lobes are involved with processing arousal cues, although each are likely to process different stimuli (20-23).
Look, ED can have many causes. Most of the time, it’s physiological. But there are also lots of psychological reasons why someone may experience ED. Treating ED isn’t all about medication. Dealing with some of these psychological issues can help you battle ED, too. I’m talking about depression, anxiety, loss of desire, sense of inadequacy, guilt, fatigue, anger, relationship dysfunction. Working through these types of psychological challenges can help you achieve the happy, healthy manhood you deserve.
Caution is recommended regarding the use of PDE-5 inhibitors and alpha-blockers (for example, Hytrin, Cardura, Uroxatral, Flomax, Rapaflo), medications commonly used to treat benign prostate enlargement (BPH). The combination of these medications can cause lowering of the blood pressure. Stable use of one therapy should occur prior to the addition of the other therapy, which should start at a low dose.
Hello everyone in this forum i am a bit ashamed to share this story about a great DOCTOR called DR WONDERS who helped me enlarge my small penis size through his herbal mixture cream,i was heartbroken before because i have a very small penis about 3.5 inches which was so annoying and shameful i could not satisfy my wife in bed ,,my marriage was really breaking and i needed help urgently,i have used pills,vaccines,drugs,surgery but none worked...so one faithful day as i was browsing through the internet i saw few comments on a forum about DR WONDERS and how He helped Mr MARK from UK to enlarge his penis and also cured his MOM diabetes type 2 disease,,i contacted him through his email drwondersenlargementhome he replied and gave me steps to follow and i did just as he said ,and he sent me the herbal cream to me through UPS and i received it within 4 days and i used the herbal cream for just 14 days to my greatest surprise my penis that was 3.5 inches before enlarge to 10 inches long when fully erected ,for just two weeks of using his herbal mixture cream ,,wow my wife loved me more and was so happy that i can satisfy her very well now in bed ,,i even last longer than 2hours in bed. thank you so much DR WONDERS for making life a better one to live in ..so if you are out there having similar problems please contact him now on his email drwondersenlargementhomeor you can also whatsapp or call him on his mobile nurmbere +2347036 517871 contact him now and all your problem shall be solve...
PDE5i for ED in patients with MS can be considered as reasonably effective and safe. Fowler et al. performed a randomized, multicenter, double-blind, flexible dose trial with open label extensions comparing sildenafil to placebo (75). A nearly 4-fold increase in effective erections was noted in the treatment arm, 96% vs. 24%. Sexual satisfaction and overall satisfaction were also improved in the treatment group based on IIEF scores, and quality of life assessments. Lombardi et al. evaluated tadalafil use in men with MS (71). Seventy eight percent of the men responded with improved erections, better quality of life with regards to sexual function, partner relationship and family life. Just less than half the men who responded to the tadalafil did so at the lower dosage of 10 mg. Subjects in either studies did not have any significant adverse side effects beyond flushing, and headache with PDE5i use.
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.
Yes, it's possible to cure erectile dysfunction. The first step is to find out what's causing it. For some men, it's as simple as changing medications. Some drugs - those that treat high blood pressure or depression, for example - can make erections fizzle. So can alcohol and recreational drugs. Other causes are also treatable, including hormonal imbalances, hypertension, high cholesterol, obesity, diabetes and smoking, all of which can impede blood flow to the penis. For some men, ED is all in their heads, so consulting a mental health practitioner to help resolve anxiety, depression or learn techniques for dealing with stress can take the "dys" out of dysfunction.
An occasional problem achieving an erection is nothing to worry about. But failure to do so more than 50% of the time at any age may indicate a condition that needs treatment. About 40% of men in their 40s report at least occasional problems getting and maintaining erections. So do more than half (52%) of men aged 40 to 70, and about 70% of men in their 70s.
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.
One of the first steps is to distinguish between physiological and psychological ED. Determining whether involuntary erections are present is important in eliminating the possibility of psychogenic causes for ED. Obtaining full erections occasionally, such as nocturnal penile tumescence when asleep (that is, when the mind and psychological issues, if any, are less present), tends to suggest that the physical structures are functionally working. Similarly, performance with manual stimulation, as well as any performance anxiety or acute situational ED, may indicate a psychogenic component to ED.
Several pathways have been described to explain how information travels from the hypothalamus to the sacral autonomic centers. One pathway travels from the dorsomedial hypothalamus through the dorsal and central gray matter, descends to the locus ceruleus, and projects ventrally in the mesencephalic reticular formation. Input from the brain is conveyed through the dorsal spinal columns to the thoracolumbar and sacral autonomic nuclei.