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:
Vacuum therapy devices have a few disadvantages. One must interrupt foreplay to use them. You must use the correct-size tension ring and remove it, to prevent penile bruising, after sustaining the erection for 30 minutes. Initial use may produce some soreness. Such devices may be unsuitable for men with certain bleeding disorders. In general, vacuum constriction devices are successful in management of long-term ED.
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.
The dorsal artery provides for engorgement of the glans during erection, whereas the bulbourethral artery supplies the bulb and the corpus spongiosum. The cavernous artery effects tumescence of the corpus cavernosum and thus is principally responsible for erection. The cavernous artery gives off many helicine arteries, which supply the trabecular erectile tissue and the sinusoids. These helicine arteries are contracted and tortuous in the flaccid state and become dilated and straight during erection. 
When other treatments haven’t helped, a penile implant may be the right solution. A penile implant is a medical device that is surgically placed into a penis to mimic the look and performance of a natural erection9. Implants are custom-fitted to your anatomy. Sensitivity and the ability to ejaculate aren’t typically affected either, so you’ll be able to have an orgasm normally (unless you have a medical condition that prevents this)7.
Parasympathetic pathways originate from the intermediolateral cell columns of the 2nd, 3rd and 4th sacral spinal cord segments. Preganglionic fibers pass through the pelvic plexus where they coalesce with sympathetic fibers from the superior hypogastric plexus. The cavernous nerves that innervate the penis arise from the portion of the pelvic plexus. The pelvic plexus also contains nerves that innervate the rectum, bladder and urinary sphincter and the nerve projections can be damaged during radical excision of the bladder, prostate and rectum, leading to iatrogenic ED (4).
It is important for clinicians prescribing these drugs to make the patient aware of the action of the drugs especially the fact that they do not result in an immediate erection, and that they do not cause an erection without sexual stimulation. There is frequently a great expectation when men begin using these drugs and it is wise to temper their enthusiasm and explain they do not work immediately, and may not work every time, but also let the patient know that if these drugs do not work, there are other options.
Take an ED drug. Such drugs can help men maintain erections for several hours at a time. They work by enhancing the effect of nitric oxide, which the body produces naturally to relax and increase blood flow to the penis. If you're interested in taking a drug specifically geared toward treating ED, talk with your doctor about getting a prescription.
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
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
The Cancer of the Prostate Strategic Urologic Research Endeavor (CaPSURE) study, designed to determine whether an individual man’s sexual outcomes after most common treatments for early-stage prostate cancer could be accurately predicted on the basis of baseline characteristics and treatment plans, found that 2 years after treatment, 177 (35%) of 511 men who underwent prostatectomy reported the ability to attain functional erections suitable for intercourse. 
The role of the endothelium in erectile function became clearer with the observation that the phosphodiesterase type 5 (PDE5) inhibitor, sildenafil, enhanced erectile function. Erection occurs with the release of nitric oxide (NO) from the vascular endothelial cells.17 The reduction in endothelial cell production of NO results in the negative impact on the smooth muscles in the corporal bodies and results in less relaxation of the smooth muscle cells with decrease in blood supply and resulting ED. A similar phenomenon is well known to impact the coronary arterial system resulting in CVD.
The Latin term impotentia coeundi describes simple inability to insert the penis into the vagina; it is now mostly replaced by more precise terms, such as erectile dysfunction (ED). The study of ED within medicine is covered by andrology, a sub-field within urology. Research indicates that ED is common, and it is suggested that approximately 40% of males experience symptoms compatible with ED, at least occasionally. The condition is also on occasion called phallic impotence. Its antonym, or opposite condition, is priapism.
Sexual dysfunction and ED become more common as men age. The percentage of complete ED increases from 5% to 15% as age increases from 40 to 70 years. But this does not mean growing older is the end of your sex life. ED can be treated at any age. Also, ED may be more common in Hispanic men and in those with a history of diabetes, obesity, smoking, and hypertension. Research shows that African-American men sought medical care for ED twice the rate of other racial groups.