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.
The nerves and endothelium of sinusoids and vessels in the penis produce and release transmitters and modulators that control the contractile state of corporal smooth muscles. Although the membrane receptors play an important role, downstream signaling pathways are also important. The RhoA–Rho kinase pathway is involved in the regulation of cavernosal smooth muscle contraction. 
You should talk to your doctor about possible treatments. You may want to talk to other patients who have had the treatment planned for you. You also may want to seek a second doctor's opinion about surgery before making your decision. You may find it difficult to talk to your doctor about impotence. You will want to find a doctor who treats this condition and will help you feel comfortable talking about the problem and choosing the best treatment. You can also get more information by contacting your local National Kidney Foundation affiliate.
Don’t give up or blame yourself - you shouldn’t assume that your situation is impossible to improve or that your partner is disappointed in you. Studies show as long as you don’t stop trying to engage your partner sexually, they will still respond positively. If you communicate and stay positive you can work with your partner to get the result you’re looking for.
In order to establish whether normal erections are occurring overnight (nocturnal erections), the doctor may organise nocturnal penile tumescence (NPT) testing. This involves wearing a monitor overnight in your own home. The data from this monitor is then assessed to analyse how often erections occurred, how long they lasted, and how rigid and large the penis was during the erections. If NPT testing is normal, the cause of erectile dysfunction is usually psychological. If not, further testing of the blood flow in the genital area may be required to see if there is blockage or leakage. The doctor may also organise a blood test of levels of hormones such as testosterone, prolactin and thyroid stimulating hormone to see if these are contributing to the erectile dysfunction.
Erections are neurovascular events, meaning that nerves and blood vessels (arteries and veins) are involved in the process of an erection and all must work properly to develop a hard erection that lasts long enough. Erection begins with sexual stimulation. Sexual stimulation can be tactile (for example, by a partner touching the penis or by masturbation) or mental (for example, by having sexual fantasies, viewing porn). Sexual stimulation or sexual arousal causes the nerves going to the penis to release a chemical, nitric oxide. Nitric oxide increases the production of another chemical, cyclic GMP (cGMP), in the muscle of the corpora cavernosa. The cGMP causes the muscles of the corpora cavernosa to relax, and this allows more blood to flow into the penis. The incoming blood fills the corpora cavernosa, making the penis expand.
Examination of the vascular system is particularly relevant to the evaluation of the impotent patient. Absence of pulses in the feet and presence of femoral bruits suggest atherosclerosis. However, normal femoral and pedal pulses do not exclude selective obstruction to penile blood flow. Direct palpation of the dorsal artery of the penis may be informative if pulsation is absent. The presence of a pulse, however, does not rule out vascular disease, particularly in a patient who is able to achieve normal erections at rest, but unable to maintain them during thrusting. At the same time that the penile pulses are palpated, the examiner should feel for plaques in the corpora cavernosa which would indicate Peyronie's disease.
The neurologic pathways required for erection originate in the cerebral cortex where visual, auditory, and psychic stimuli are processed, and in the pudenal nerve, an afferent nerve that transmits tactile sensations from the genitals to the sacral segments of the spinal cord and cortex. Efferent signals from the spinal cord pass along the pelvic parasympathetic nerves and dilate the corporal vessels. The specific neurotransmitters have not been fully defined; acetylcholine, and perhaps vasoactive intestinal peptide, appears to be important. There are many causes of neurogenic impotence. Anything that disrupts neural pathways or blocks neurochemical transmission will have an adverse effect on erection. Psychologic factors probably interfere with erection by inhibiting corticosacral efferent pathways.
Lifestyle choices that impair blood circulation can contribute to ED. Smoking, excessive drinking, and drug abuse may damage the blood vessels and reduce blood flow to the penis. Smoking makes men with atherosclerosis particularly vulnerable to ED. Being overweight and getting too little exercise also contribute to ED. Studies indicate that men who exercise regularly have a lower risk of ED.