"Sexual relations are not only an important part of people's wellbeing. From a clinical point of view, the inability of some men to perform sexually can also be linked to a range of other health problems, many of which can be debilitating or potentially fatal," says Professor Gary Wittert, Head of the Discipline of Medicine at the University of Adelaide and Director of the University's Freemasons Foundation Centre for Men's Health.
ED may occur with or without other sexual dysfunction, including decreased libido (decreased interest in sexual activity), orgasmic dysfunction (troubles achieving an orgasm/climax), and ejaculatory dysfunction (problems with the fluid released during sex, including lack of ejaculation [anejaculation], small volume ejaculate, ejaculation that occurs too quickly [premature ejaculation], ejaculate that goes backward into the bladder [retrograde ejaculation] and pain with ejaculation).
Patients receiving penile prostheses should be instructed in the operation of the prosthesis before surgery and again in the postoperative period. The prosthesis usually is not activated until approximately 6 weeks after surgery, so as to allow the edema and pain to subside. The prosthesis is checked in the office before the patient begins to use it.
As is true in so many medical conditions, lifestyle modifications, considered first-line therapy, can have a salutary effect in ED management, and men should be encouraged to make the necessary changes to the benefit of their sexual function and to their overall health as well. Despite the benefits of behaviour modification, men presenting with ED want the physician to help with measures that can have an immediate impact.
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. 
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.
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.