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. 
If you’re experiencing psychological ED, you may benefit from talk therapy. Therapy can help you manage your mental health. You’ll likely work with your therapist over several sessions, and your therapist will address things like major stress or anxiety factors, feelings around sex, or subconscious conflicts that could be affecting your sexual well-being.
As men age they require more stimulation up front to get and maintain an erection firm enough for sex. Engaging in some foreplay either on you or on your partner is a great way to get your arousal levels up and get an erection that is firm enough for sex. Many men begin to rush the process of sex once they experience ED. They worry that they will lose their erection so they rush rather than go slow understanding that rushing will only make the problem worse.
Instead of the hesitation with which he had accosted the cardinal a quarter of an hour before, there might be read in the eyes of the young king that will against which a struggle might be maintained, and which might be crushed by its own impotence, but which, at least, would preserve, like a wound in the depth of the heart, the remembrance of its defeat.
Surgery: If neither drugs nor the vacuum pump works, your doctor may suggest surgery. With surgery, the doctor can place a device in your penis that will cause enough hardness for intercourse. In a few cases, infections may develop after the operation, and the doctor may have to remove the device. Another operation that may help you is rebuilding the blood vessels in the penis to increase blood flow into the penis or decrease blood flow out of the penis. These procedures can help you to get and maintain an erection.
Erectile dysfunation medications may not be suitable for you if you have been told not to have sex, not to engage in sexual activity/actions that widen your blood vessels, have low blood pressure (hypotension), have recently had a stroke, have unstable angina, have had a heart attack or have a history of non-arteritic anterior ischaemic optic neuropathy. Men with cardiovascular disease/anatomical issue with their penis/priapism/taking long-lasting alpha-blockers should use with caution and discuss with a doctor first. Do not mix with drugs/medications containing nitrates.
A physical cause can be identified in about 80% of cases. These include cardiovascular disease, diabetes mellitus, neurological problems such as following prostatectomy, hypogonadism, and drug side effects. Psychological impotence is where erection or penetration fails due to thoughts or feelings; this is somewhat less frequent, in the order of about 10% of cases. In psychological impotence, there is a strong response to placebo treatment.
Once implanted, the pumps become “part of their body,” Montague explains. “No out-of-pocket cost per use. Predictable response. Works every time.” Pills, even when they work, might be less effective if you’ve had more than a couple drinks or are out of sorts for other reasons. Injections are slightly more reliable than pills but, Montague says, are still subject to variability.
Risks associated with injection therapy including bleeding, pain with injection, penile pain, priapism, and corporal fibrosis (scarring inside of the corpora cavernosa). There is also concern that repetitive injections in the same area could cause scar tissue to build up in the tunica albuginea that could create penile curvature. Thus, doctors recommended that one alternate sides with injection and perform injections no more frequent than every other day.
The Prostate Cancer Prevention Trial was a landmark study by Thompson et al that prospectively assessed the time to developing CVD after the diagnosis of ED. There were 4247 men with no ED at study entry; 2420 developed incident ED (defined as the first report of ED of any grade) over 5 years. Those men that developed ED had a 1.45-fold higher probability of experiencing a CV event compared with men who did not develop ED.27
Experiencing ED can also be a reason to try not penetrative sex. Try planning a sex session with your partner hat isn't focused on your erection at all. Things like kissing, licking, sucking, foreplay and teasing all are super stimulating and don't focus on penetration. Feel free to bring each other to orgasm using these ideas and see if you are able to relax and enjoy the experience. Many men feel like failures when their erections become unreliable. Having a few successful sexual sessions that lead to orgasm without penetration can put the fun back into having sex. Many couples find success using this technique and begin to reengage sexually instead of avoiding being sexual for fear of failure.
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.