inability of the male to achieve or maintain an erection of sufficient rigidity to perform sexual intercourse successfully. An impotent man may produce sufficient numbers of normal spermatozoa; the condition is related to infertility only insofar as it prevents coitus with and impregnation of the female partner. Called also erectile dysfunction. adj., adj im´potent.
Currently, placement of a penile prosthesis is the most common surgical procedure performed for erectile dysfunction. Penile prosthesis placement is typically reserved for men who have tried and failed (either from efficacy or tolerability) or have contraindications to other forms of therapy including PDE5 inhibitors, intraurethral alprostadil, and injection therapy.
Other factors leading to erectile dysfunction are diabetes mellitus, which is a well-known cause of neuropathy). ED is also related to generally poor physical health, poor dietary habits, obesity, and most specifically cardiovascular disease, such as coronary artery disease and peripheral vascular disease. Screening for cardiovascular risk factors, such as smoking, dyslipidemia, hypertension, and alcoholism is helpful.
Nerves originating in the spinal cord and peripheral ganglia innervate the penis. There are autonomic (parasympathetic and sympathetic), and somatic separate and integrated pathways. The autonomic pathways neurons originate in the spinal cord and peripheral ganglia from the sympathetic and parasympathetic systems, respectively. They merge to form the cavernous nerves that travel alongside the prostate, enter the corpora cavernosa and corpus spongiosum to affect the neurovascular events required for tumescence and detumescence. The somatic nerves send sensory information from the penile skin, glans, and urethra via the dorsal penile nerve and pudendal nerve to the spinal cord. The somatic nerves also initiate contraction of the ischio- and bulbocavernosus muscles.
Penis pumps produce erections by drawing blood, via air suction, into the penis. The devices consist of a cylindrical tube, 12 to 18 inches long, connected by a small air hose to a hand pump (on many models this resembles the squeeze mechanism on a blood pressure monitor). Users place the tube over the penis then pump to produce an erection. They must then place an elastic band around the base of the penis to keep the blood there and maintain the erection.
Since the advent of PDE5i, many other selective and non-selective peripheral acting compounds have been developed or are in development. Avanafil has shown promising results in treating ED in post-prostatectomy patients with suspected cavernous nerve injury (111). Other PDE5i marked in Asia such as udenafil, and mirodenafil also effective at treating ED may minimize side effects due to shorter half-lives (112-114). Soluable guanylate-cyclase inhibitors and potassium channel activators are compounds that have induced erections in animal models but remain experimental requiring further investigation (115-117).
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.
The most common treatment for erectile dysfunction is drugs known as phosphodiesterase-5 (PDE-5) inhibitors. These include tadalafil (Cialis), vardenafil (Levitra), and sildenafil citrate (Viagra). These are effective for about 75% of men with erectile dysfunction. They are tablets that are taken around an hour before sex, and last between 4 and 36 hours. Sexual stimulation is required before an erection will occur. The PDE-5 inhibitors cause dilation of blood vessels in the penis to allow erection to occur, and help it to stay rigid. Men using nitrate medication (e.g. GTN spray or sublingual tablets for angina) should not use PDE-5 inhibitors.
Fortunately, impotence is usually treatable. A thorough evaluation starting with a history and physical exam is needed to help diagnose the underlying cause. Once the cause of impotence is determined, treatment can be tailored to target that cause and any other contributing factors. Treatments used for impotence may include medications, vacuum devices, surgery, and psychotherapy.
Oral therapy (pills) is the least effective and the most likely to be associated with liver problems, even though this is a small risk. This is related to the first-pass effect of all medications ingested via the digestive system. Once absorbed from the intesting, all food materials must pass through the hepatic (liver) system and be metabolized. As such, the actual delivery to the systemic blood system is low due to the liver metabolism of the testosterone. For this reason, the oral doses are quite high in order to get serum levels higher.
Trauma to the pelvic blood vessels or nerves can also lead result in ED. Bicycle riding for long periods has been implicated as an etiologic factor; direct compression of the perineum by the bicycle seat may cause vascular and nerve injury.  On the other hand, bicycling for less than 3 hours per week may be somewhat protective against ED.  Some of the newer bicycle seats have been designed to diminish pressure on the perineum. [37, 38]
You can also consider using a cock ring or penis ring if you are able to get an erection but have trouble maintaining it. Cock rings work by trapping the blood inside your penis so it remains harder for longer. You can purchase one in a sex store or online for about $5 and you put in on over your penis and testicles when you are half hard and keep it on until you are finished with sex. It’s a great cheap fix for erectile issues.
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.
The severity of ED has been correlated with the extent of CVD. Banks et al reported that the risk of future CV events increased progressively according to ED severity.28 This was shown in both men with and without known CVD at baseline and after controlling for confounders. Solomon and colleagues found an inverse correlation between international index of erectile function (IIEF) scores and plaque burden seen on coronary angiography.29 In addition, Yaman et al demonstrated a significant correlation between ED severity on IIEF questionnaires and coronary artery calcification.30
The nerves and endothelium of sinusoids and vessels in the penis produce and release transmitters and modulators that control the contractile state of corporal smooth muscles. Although the membrane receptors play an important role, downstream signaling pathways are also important. The RhoA–Rho kinase pathway is involved in the regulation of cavernosal smooth muscle contraction. 
Another potential new treatment consists of penile low-intensity shock wave lithotripsy. This consists of 1500 shocks twice a week for 3–6 weeks. The purpose is to stimulate neovascularisation to the corporal bodies with improvement in penile blood flow and endothelial function. The use of low-intensity shock wave lithotripsy may convert PDE5 inhibitor non-responders to responders.47
In rare cases, the drug Viagra ® can cause blue-green shading to vision that lasts for a short time. In rare cases, the drug Cialis® can cause or increase back pain or aching muscles in the back. In most cases, the side effects are linked to PDE5 inhibitor effects on other tissues in the body, meaning they are working to increase blood flow to your penis and at the same time impacting other vascular tissues in your body. These are not ‘allergic reactions'.