Thinking about sex creates a burst of dopamine, which is a brain chemical that’s linked to excitement, motivation and pleasure. It also plays a crucial role in helping you to get an erection! In a man who is bored with or indifferent about sex, thinking about the act is unlikely to be accompanied by that dopamine burst, making it likely that the man will experience erectile dysfunction.
Normal erectile function depends on the release of NO and endothelial-dependent vasodilation of the penile arteries. The ‘artery size’ hypothesis, first described by Dr Montorsi, offers an explanation why men are more likely to develop ED before a myocardial infacrtion. It is believed that atherosclerosis affects all vascular beds equally but smaller arteries are more likely to become occluded than larger arteries.31 32 The penile arteries are 1–2 mm while the coronary arteries are 3–4 mm. Thus, the same degree of endothelial dysfunction and atherosclerosis is more likely to occlude blood flow in the penile arteries compared with the coronary arteries. The penile arteries therefore serve as a sensitive indicator for subsequent CVD. This theory is supported by the fact that ED occurs approximately 3 years prior to cardiac symptoms in virtually all patients with chronic coronary syndrome whereas patients with acute coronary syndrome have a much lower prevalence of sexual dysfunction.32
The primary nerve fibers to the penis are from the dorsal nerve of the penis, a branch of the pudendal nerve. The cavernosal nerves are a part of the autonomic nervous system and incorporate both sympathetic and parasympathetic fibers. They travel posterolaterally along the prostate and enter the corpora cavernosa and corpus spongiosum to regulate blood flow during erection and detumescence. The dorsal somatic nerves are also branches of the pudendal nerves. They are primarily responsible for penile sensation. 
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.
The vacuum constriction device consists of a vacuum cylinder, various sizes of tension rings, and a vacuum pump, either hand-operated or electric. The penis is placed in a cylinder to which a tension ring is attached. Air is evacuated from the cylinder by means of the pump, creating a vacuum, which produces the erection. The cylinder is removed, leaving the tension ring at the base of the penis to maintain the erection.
Alprostadil may be delivered via the urethra in the form of a pellet (MUSE) (107). This form of therapy has been trialed in SCI men with intermediate success (108). Bodner trialed MUSE dose escalation in SCI men and found 1,000 μg to be the most effective dose. Several men had hypotension when a constriction ring was not used in conjunction with the MUSE therapy.
With drug therapy, there’s a risk of side effects such as headaches, back pain or an upset stomach. Before taking any medication for erectile dysfunction it is important to ensure your doctor is ok with that decision. Medication may not work for all men, for instance, if you have diabetes or have previously had prostate surgery. ED medication might also have serious risks if you’re currently taking nitrates (commonly prescribed for chest pain), have heart disease or have low blood pressure.22
Erections are more complicated than you think. Your brain, nerves, heart, blood vessels, and a whole lot of hormones have to work together perfectly or nothing happens. It’s a lot to ask, and sometimes things break down. And while ED happens to most guys at some point in their lives, erectile dysfunction isn’t something you can just ignore and hope it goes away.
Penile implants - are generally used if physical damage (like an accident) makes the anatomical parts needed for an erection not work. These are inserted by surgery and can provide a permanent treatment choice if others fail to work. The implants can be semi-rigid or inflatable. They can be pretty expensive and are not usually available on the NHS.
The device consists of an acrylic cylinder placed over the penis that uses a lubricant to achieve a good seal between the penile body and cylinder. An erection is then achieved by creating a vacuum inside the cylinder with a pump connected to the cylinder. Once an erection is achieved, a constriction band is applied to the base of the penis to maintain the erection. The cylinder can then be removed and the patient can engage in intercourse with the constriction band at the base of the penis maintaining the erection. The band can remain on for approximately 30 minutes and then must be removed. The erection produced by the device differs from a normal erection likely because of venous occlusion from the constriction band resulting in generalized swelling of the entire penis, with probable preservation of arterial inflow.
Patients receiving penile prostheses should be instructed in the operation of the prosthesis before surgery and again in the postoperative period. The prosthesis usually is not activated until approximately 6 weeks after surgery, so as to allow the edema and pain to subside. The prosthesis is checked in the office before the patient begins to use it.
Medication — When a medication is the cause of the dysfunction, a change in the medication may help. Men and women with hormone deficiencies may benefit from hormone shots, pills, or creams. For men, drugs, including sildenafil (Viagra®), tadalafil (Cialis®), vardenafil (Levitra®, Staxyn®), and avanafil (Stendra®) may help improve sexual function by increasing blood flow to the penis.
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.
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.
Penile Injection Medication: This is just what it sounds like. Injected at home directly into the penis, the medication alprostadil produces erection by relaxing certain muscles, increasing blood flow into the penis and restricting outflow. Although some sources report an 80 percent success rate, the therapy has disadvantages, such as risks of infection, pain, and scarring—fibrosis—in the penis, and it may also cause priapism. A popular version of this medication is Upjohn Corporation’s Caverject. The MUSE System, by VIVUS, involves the same medicine (a pellet of alprostadil) applied with an eye-dropper-like applicator, directly into the urethra.