You have to desensitize yourself to stimulation. One way to do this is to masturbate about an hour beforehand, achieving another orgasm shortly after that will be more difficult. If you continue to have trouble, talk to your partner about changes to the timing of your sexual routine, you may need to give them oral or manual stimulation first or after you ejaculate, etc.
Both ED and low testosterone (hypogonadism) increase with age. The incidence of the latter is 40% in men aged 45 years and older.  Testosterone is known to be important in mood, cognition, vitality, bone health, and muscle and fat composition. It also plays a key role in sexual dysfunction (eg, low libido, poor erection quality, ejaculatory or orgasmic dysfunction, reduced spontaneous erections, or reduced sexual activity). 
In fact, one study showed that men who use these medications recreationally, when they’re not really needed, were more likely to develop psychological impotence! Therefore, instead of wasting money, risking one’s physical health and worsening one’s erectile function, men with psychological impotence should opt for treatment strategies that truly address the root of the trouble.
This penile tumescence monitor is placed at the base and near the corona of the penis. It is connected to a monitor that records a continuous graph depicting the force and duration of erections that occur during sleep. The monitor is strapped to the leg. The nocturnal penile tumescence test is conducted on several nights to obtain an accurate indication of erections that normally occur during the alpha phase of sleep.
Medical conditions, such as hypertension, diabetes mellitus, and cardiovascular disease (CVD), and psychological conditions, such as depression and anxiety, also contribute to sexual dysfunction in middle-aged or elderly men. CVD and hypertension cause a narrowing and hardening of the arteries, leading to reduced blood flow to the corporal bodies, which is essential for achieving an erection. Diabetes is a common aetiology of sexual dysfunction, because it can affect both the blood vessels and the nerves that supply the penis. Men with diabetes are four times more likely to experience ED, and on average, experience ED 15 years earlier than men without diabetes.7 Obesity is also correlated to the development of several types of dysfunction, including a decrease in sex drive and an increase in episodes of ED.8
Move a muscle, but we're not talking about your biceps. A strong pelvic floor enhances rigidity during erections and helps keep blood from leaving the penis by pressing on a key vein. In a British trial, three months of twice-daily sets of Kegel exercises (which strengthen these muscles), combined with biofeedback and advice on lifestyle changes — quitting smoking, losing weight, limiting alcohol — worked far better than just advice on lifestyle changes.
The vascular processes that produce an erection are controlled by the nervous system and certain prescription medications may have the side effect of interfering with necessary nerve signals. Among the possible culprits are a variety of stimulants, sedatives, diuretics, antihistamines, and drugs to treat high blood pressure, cancer, or depression. But never stop a medication unless your doctor tells you to. In addition, alcohol, tobacco, and illegal drugs, such as marijuana, may contribute to the dysfunction.
Psychosexual counselling, or sex therapy, is an appropriate recommendation especially for men who are experiencing discord with their partner especially if the conflict is related to the man’s ED. Counselling usually consists of 5–20 sessions with counsellor. It is our recommendation that referral doctors treating men with ED make a referral to a psychotherapist or sex therapist who is certified by AASECT (American Association of Sexuality Educators, Counselors and Therapists) of certified sexuality educator.43
The venous constriction device is a device designed to compress the veins that drain blood flow out of the penis to keep blood in the penis. These devices may help individuals who have a "venous leak." In these individuals, although blood flow is coming into the penis, it is draining out at the same time and this persistent drainage prevents a fully rigid erection. These devices may be used with other forms of medical therapy, such as medications, injection therapy, or the vacuum device.
Vacuum devices for ED, also called pumps, offer an alternative to medication. The penis is placed inside a cylinder. A pump draws air out of the cylinder, creating a partial vacuum around the penis. This causes it to fill with blood, leading to an erection. An elastic band worn around the base of the penis maintains the erection during intercourse.
A physical exam checks your total health. Examination focusing on your genitals (penis and testicles) is often done to check for ED. Based on your age and risk factors, the exam may also focus on your heart and blood system: heart, peripheral pulses and blood pressure. Based on your age and family history your doctor may do a rectal exam to check the prostate. These tests are not painful. Most patients do not need a lot of testing before starting treatment.