It starts with your online doctor visit. Your doctor needs to know about your health (e.g., your medications, lifestyle issues, prior surgeries) and how ED affects you. They also need a recent blood pressure (one done in the last 6 months), and personal ID so they know who they will be helping in the coming year. They review everything, determine if you’re a candidate for telemedicine and, if so (most people are), they will craft a personalized treatment plan.
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).
Alteration of NO levels is the focus of several approaches to the treatment of ED. Inhibitors of phosphodiesterase, which primarily hydrolyze cGMP type 5, provided the basis for the development of the PDE5 inhibitors. Chen et al administered oral L-arginine and reported subjective improvement in 50 men with ED.  These supplements are readily available commercially. Reported adverse effects include nausea, diarrhea, headache, flushing, numbness, and hypotension.
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
Your doctor will ask you questions about your symptoms and health history. They may do tests to determine if your symptoms are caused by an underlying condition. You should expect a physical exam where your doctor will listen to your heart and lungs, check your blood pressure, and examine your testicles and penis. They may also recommend a rectal exam to check your prostate. Additionally, you may need blood or urine tests to rule out other conditions.
There are, as you listen to all of the advertisements, if your erection lasts for more than four hours, there are very, very unusual cases where that can happen. There are very rare cases of visual problems. There are even rarer cases of hearing problems. But with every medication, there always a potential downside. But the absolute contraindication is an unstable medical condition, an unstable cardiovascular condition, being on nitrates.
Viagra and Cialis, despite their aggressive marketing, are not the ideal treatment for men with psychological impotence. Rather, they are designed to treat physical erectile dysfunction that is rooted in blood flow malfunction. For the man with psychological ED, taking a pill may not work properly because they’re not tackling the psychological causes of the problem.
Penile erection is managed by two mechanisms: the reflex erection, which is achieved by directly touching the penile shaft, and the psychogenic erection, which is achieved by erotic or emotional stimuli. The former uses the peripheral nerves and the lower parts of the spinal cord, whereas the latter uses the limbic system of the brain. In both cases, an intact neural system is required for a successful and complete erection. Stimulation of the penile shaft by the nervous system leads to the secretion of nitric oxide (NO), which causes the relaxation of smooth muscles of corpora cavernosa (the main erectile tissue of penis), and subsequently penile erection. Additionally, adequate levels of testosterone (produced by the testes) and an intact pituitary gland are required for the development of a healthy erectile system. As can be understood from the mechanisms of a normal erection, impotence may develop due to hormonal deficiency, disorders of the neural system, lack of adequate penile blood supply or psychological problems. Spinal cord injury causes sexual dysfunction including ED. Restriction of blood flow can arise from impaired endothelial function due to the usual causes associated with coronary artery disease, but can also be caused by prolonged exposure to bright light.
This isn’t all that surprising. When you feel blue and low on energy, it can be extremely difficult to perform at your sexual peak. Furthermore, depression is linked to changes in your brain chemistry and nervous system. Some of these areas also affect your sex drive and ability to have an erection. This means that depression can change the way your brain works, making ED more likely.
ED occurs in up to 70% of men with MS, and MS is one of the most prevalent neurological disorders that affect the younger adult population worldwide (33-35). The mean time for SD and ED to develop is about 9 years and is rarely a presenting symptom of MS (36). Men with MS and ED may continue to have nocturnal erections, and psychogenic erections; however, this does not mean they have psychogenic ED but could be an indicator that MS involves the spinal cord (37).
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. 
Inside the cell, NOS catalyzes the oxidation of L-arginine to NO and L-citrulline. Endogenous blockers of this pathway have been identified. The gaseous NO that is produced acts as a neurotransmitter or paracrine messenger. Its biologic half-life is only 5 seconds. NO may act within the cell or diffuse and interact with nearby target cells. In the corpora cavernosa, NO activates guanylate cyclase, which in turn increases cyclic guanosine monophosphate (cGMP). Relaxation of vascular smooth muscles by cGMP leads to vasodilation and increased blood flow.
When a man becomes sexually excited, muscles in their penis relax. This relaxation allows for increased blood flow through the penile arteries. This blood fills two chambers inside the penis called the corpora cavernosa. As the chambers fill with blood, the penis grows rigid. Erection ends when the muscles contract and the accumulated blood can flow out through the penile veins.
Erectile dysfunction (ED) is commonly called impotence. It’s a condition in which a man can’t achieve or maintain an erection during sexual performance. Symptoms may also include reduced sexual desire or libido. Your doctor is likely to diagnose you with ED if the condition lasts for more than a few weeks or months. ED affects as many as 30 million men in the United States.
Apomorphine is a non-selective D1/D2 receptor agonist with moderate efficacy and good tolerability in the treatment of mild ED (80). Apomorphine can be administered via subcutaneous injection or sublingually. However, studies have shows a lower efficacy for apomorphine compared to oral sildenafil (81,82). Apomorphine has a set role in the management of PD for non-motor symptoms, and has been reported to cause spontaneous erections and possible hypersexuality in PD men (83,84). Its role in the management of ED has been postulated for men with PD but should be considered as an alternative to sildenafil.
Between 10 and 88% of patients diagnosed with cancer experience sexual problems following diagnosis and treatment. The prevalence varies according to the location and type of cancer, and the treatment modalities used. Sexuality may be affected by chemotherapy, alterations in body image due to weight change, hair loss or surgical disfigurement, hormonal changes, and cancer treatments that directly affect the pelvic region.
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. 
For best results, men with ED take these pills about an hour or two before having sex. The drugs require normal nerve function to the penis. PDE5 inhibitors improve on normal erectile responses helping blood flow into the penis. Use these drugs as directed. About 7 out of 10 men do well and have better erections. Response rates are lower for Diabetics and cancer patients.