Usually there will not be a specific treatment that will lead to the improvement of erectile dysfunction. However, there are treatments that will allow erections to happen and can be used to allow sexual activity to take place. There are three main types of treatments: non-invasive treatments such as tablet medicines and external devices (e.g. vacuum device); penile injections; or for men who have not had success with other treatments, surgery may be an option.
Erectile dysfunction may be the result of arterial and non-arteritic causes. Hardening of the arteries that bring blood into the penis, atherosclerosis, is a common cause of erectile dysfunction, particularly in men with cardiovascular disease. However, problems with the nerves that supply the penis as well as the veins that drain blood out of the penis can also cause troubles with erection. Erectile dysfunction may also have a psychological cause.
Medications such as sildenafil (Viagra), vardenafil (Levitra), or tadalafil (Cialis) may help improve sexual function in men by increasing blood flow to the penis. Men who are on medicines that contain nitrates such as nitroglycerine should not take oral ED medications. The combination of nitrates and these specific medications can cause low blood pressure (hypotension).
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. 
Neurogenic erectile dysfunction (NED) is a traditional classification of erectile dysfunction (ED) encompassing disorders impairing erections via neurologic compromise or dysfunction. The disorders compromising erections may act centrally, peripherally or both. The prevalence of neurogenic ED has been suspected to be between 10% and 19% of all causes of ED (1,2). However, several classically defined neurogenic processes may affect several components of the normal pathway to achieve erection e.g., multiple sclerosis (MS), diabetes mellitus, iatrogenic surgical and spinal cord injury. Each disease state has its own unique characteristics that require acknowledgement to fully understand their effect on ED.
Prior to the introduction of PDE5i in 1998, intracavernosal vasoactive medications and penile implant surgery were the mainstays of treatment. Penile implant surgery involves placement of inflatable or malleable rods within the corpora cavernosa to provide rigidity for intercourse. Choice of which implant to place usually depends upon manual dexterity and function of the patient, patient anatomy, physician preference and surgical approach.
The common PDE5 inhibitor drugs approved in the United States are sildenafil (Viagra), vardenafil (Levitra and Staxyn, the generic form), tadalafil (Cialis), or avanafil (Stendra). All of the currently approved PDE5 inhibitors work in the same way. They differ in the number of available doses, how quickly they work and last in your system, the dosing, and to some extent in the side effects. However, they generally share the same indications and contraindications. Currently, tadalafil is the only medication that patients can take on a daily basis and is approved for the treatment of both ED and BPH (benign enlargement of the prostate).
Erectile dysfunction is defined as the persistent inability to achieve or maintain penile erection sufficient for satisfactory sexual performance. The Massachusetts Male Aging Study surveyed 1,709 men aged 40–70 years between 1987 and 1989 and found there was a total prevalence of erectile dysfunction of 52 percent. It was estimated that, in 1995, over 152 million men worldwide experienced ED. For 2025, the prevalence of ED is predicted to be approximately 322 million worldwide.
With an inflatable implant, fluid-filled cylinders are placed lengthwise in the penis. Tubing joins these cylinders to a pump placed inside the scrotum (between the testicles). When the pump is engaged, pressure in the cylinders inflate the penis and makes it stiff. Inflatable implants make a normal looking erection and are natural feeling for your partner. Your surgeon may suggest a lubricant for your partner. With the implant, men can control firmness and, sometimes, the size of the erection. Implants allows a couple to be spontaneously intimate. There is generally no change to a man's feeling or orgasm.