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.
When lifestyle changes alone don’t work, drug therapy (Viagra®, Cialis®, Levitra®, etc.) is normally the next step. Most of these medications work similarly to enhance a natural chemical in your body that relaxes the muscles in your penis. The goal of this medication is to increase your response to sexual stimulation by increasing the blood flow in your penis allowing you to get an erection.22
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.
Nearly every primary care physician, internist and geriatrician now understand that many older men retain an interest in sexual activity as they age. Some primary care physicians think that sexual potency in older men is the norm, and that if it is lacking, it is ‘all in the head.’ This viewpoint has not been supported by current literature. The Massachusetts Male Aging Study (MMAS) found that 52% of men between 40 and 70 years old reported having some form of erectile dysfunction (ED).1 The reality is that ED is a natural part of ageing and that the prevalence increases with age. In the MMAS, they found that roughly 50% of men at 50 years old, 60% of men at 60 years old and 70% of men at 70 years old had ED. Thus, nearly all men who live long enough should develop ED. The myths that surround the problems of impotence or ED confound the attempts of patients to receive treatment and the attempts of physicians to help them.1
On the horizon is gene therapy that would deliver genes that produce products or proteins that may not be functioning properly in the penile tissue of men with ED. Replacement of these proteins may result in improvement in erectile function. Experimental animal models have demonstrated improvement in erectile function with gene therapy. Human studies may also demonstrate success with this therapy. Gene therapy may take a long time for regulatory approval and public acceptance.
Erectile dysfunction can occur as a side effect of medication taken for another health condition. Common culprits are high blood pressure meds, antidepressants, some diuretics, beta-blockers, heart medication, cholesterol meds, antipsychotic drugs, hormone drugs, corticosteroids, chemotherapy, and medication for male pattern baldness, among others.
The primary nerve fibers to the penis are from the dorsal nerve of the penis, a branch of the pudendal nerve. The cavernosal nerves are a part of the autonomic nervous system and incorporate both sympathetic and parasympathetic fibers. They travel posterolaterally along the prostate and enter the corpora cavernosa and corpus spongiosum to regulate blood flow during erection and detumescence. The dorsal somatic nerves are also branches of the pudendal nerves. They are primarily responsible for penile sensation. 
Knowing about your history of ED will help your health provider learn if your problems are because of your desire for sex, erection function, ejaculation, or orgasm (climax). Some of these questions may seem private or even embarrassing. However, be assured that your doctor is a professional and your honest answers will help find the cause and best treatment for you.