Before taking any medication for erectile dysfunction, including over-the-counter supplements and herbal remedies, get your doctor's OK. Medications for erectile dysfunction do not work in all men and might be less effective in certain conditions, such as after prostate surgery or if you have diabetes. Some medications might also be dangerous if you:
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. 
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.
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.
It is important to understand that ED is frequently, if not usually, directly related to endothelial dysfunction, and that the release of NO by the vasculature of the penile arteries is directly related to the function of intact, healthy endothelium. In the face of endothelial dysfunction, the process of erection fails to occur in a normal fashion.16
In a randomized double-blind, parallel, placebo-controlled trial, sildenafil plus testosterone was not superior to sildenafil plus placebo in improving erectile function in men with ED and low testosterone levels.  The objective of the study was to determine whether the addition of testosterone to sildenafil therapy improves erectile response in men with ED and low testosterone levels.
Conditions associated with reduced nerve and endothelium function (eg, aging, hypertension, smoking, hypercholesterolemia, and diabetes) alter the balance between contraction and relaxation factors (see Pathophysiology). These conditions cause circulatory and structural changes in penile tissues, resulting in arterial insufficiency and defective smooth muscle relaxation. In some patients, sexual dysfunction may be the presenting symptom of these disorders.
Much of the emphasis on erectile pathophysiology has been placed on penile smooth muscle function and cavernosal hemodynamics. The neuroanatomy and neurophysiology of erection can be characterized but its full extent is poorly understood. Neurologic disease does not always reproducibly affect erections in a uniform manner compared to other types of sexual dysfunction (SD). This offers many obstacles to understanding the role the nervous systems plays in SD and consequently obscures what treatment options readily optimize erections specific to the neurologic insult.
The success of treatment for sexual dysfunction depends on the underlying cause of the problem. The outlook is good for dysfunction that is related to a condition that can be treated or reversed. Mild dysfunction that is related to stress, fear, or anxiety often can be successfully treated with counseling, education, and improved communication between partners.
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.
If it is determined that ED is a problem, the patient evaluation should include a detailed sexual and medical history and a physical exam. In particular, it is important to evaluate the ED within the context of ejaculatory problems. There is a strong interplay between premature ejaculation (PE) and ED, with about a third of ED patients reporting PE. The relationship between the PE and ED is bidirectional and successful treatment of one often requires treatment of the other.14
All NOS subtypes produce NO, but each may play a different biologic role in various tissues. nNOS and eNOS are considered constitutive forms because they share biochemical features: They are calcium-dependent, they require calmodulin and reduced nicotinamide adenine dinucleotide phosphate for catalytic activity, and they are competitively inhibited by arginine derivatives. nNOS is involved in the regulation of neurotransmission, and eNOS is involved in the regulation of blood flow.
Moemen et al. compared the effectiveness and satisfaction associated with use of several ED therapies including sildenafil alone, intracavernosal injections (ICI) followed by sildenafil after ICI discontinuation and vacuum erections devices (VED) followed by sildenafil therapy after VED discontinuation (60). Seventy percent of men receiving vasoactive medications preferred sildenafil to ICI, even though rigidity was superior in the ICI group. All men using VEDs were dissatisfied with that form of therapy.
What you need to know about delayed ejaculation Delayed ejaculation is a sexual disorder that can be distressing for a man and his partner and may disrupt a relationship. There are many reasons why delayed ejaculation occurs, including tissue damage, age, drugs, and the side effects of medication. They may be physiological or psychological. Find out how to get help. Read now
Modern drug therapy for ED made a significant advance in 1983, when British physiologist Giles Brindley dropped his trousers and demonstrated to a shocked Urodynamics Society audience his papaverine-induced erection. The drug Brindley injected into his penis was a non-specific vasodilator, an alpha-blocking agent, and the mechanism of action was clearly corporal smooth muscle relaxation. The effect that Brindley discovered established the fundamentals for the later development of specific, safe, and orally effective drug therapies.[better source needed][better source needed]
If you have unstable heart disease of any kind, heart failure or unstable, what we call angina, contraindication to using the medications. All right? So if you’re in an unstable medical state, these medications are not a good idea. Now, there are relative issues. If you may be taking a blood pressure medicine or a medicine for your prostate which dilates your blood vessel a little bit– you know, the typical ones are what we call the alpha blockers– you may have an additive effect from the medication. But for the most part, the medicines are incredibly safe.
Erectile dysfunction (ED) is the inability to get and keep an erection firm enough for sexual intercourse. Estimates suggest that one of every 10 men will suffer from ED at some point during his lifetime. It is important to understand that in most cases, ED is a symptom of another, underlying problem. ED is not considered normal at any age, and may be associated with other problems that interfere with sexual intercourse, such as lack of desire and problems with orgasm and ejaculation.