Exercise and lifestyle modifications may improve erectile function. Weight loss may help by decreasing inflammation, increasing testosterone, and improving self-esteem. Patients should be educated to increase activity, reduce weight, and stop smoking, as these efforts can improve or restore erectile function in men without comorbidities. Precise glycemic control in diabetic patients and pharmacologic treatment of hypertension may be important in preventing or reducing sexual dysfunction. 
In men, erectile dysfunction can be defined as being a persistent inability to get or keep an erection that is firm enough to attain sexual satisfaction. It should not be confused with the occasional incident when this occurs, which is an experience common to the vast majority of men for various reasons. These can include having had too much alcohol to drink, being overly-anxious about a new sexual partner, or being worried about current events in your life. The issue would only be classed as Erectile Dysfunction if it keeps happening again and again. Again, an erection once attained should be hard enough and last long enough to be satisfactory. Other conditions, like premature ejaculation, may interfere in this process but these are different problems, and would be treated differently.
Organic Impotence. Diabetes mellitus, thyroid disease, and dysfunction of the pituitary gland or testes can cause impotence, as can certain medications. Other organic causes include arterial ischemia associated with atherosclerosis of the aorta and common iliac arteries, extensive pelvic surgery such as radical prostatectomy, spinal cord injury and other neurologic disorders, and a history of cigarette smoking. Because certain medications can cause impotence, it is recommended that in cases of recent impotence it be determined whether the patient has started on a new drug. The most common offenders are diuretics, antihypertensives, and vasodilators. Alcohol, which sometimes is ignored as a drug, is often a contributor to the problem of impotence.
What to do: Close your eyes and relax. If you're overly nervous, you may have triggered your sympathetic nervous system, the so-called "fight or flight" reaction your body has in intense situations. This can prevent you from having an erection for between five and 15 minutes. So go back to the foreplay stage. Kiss passionately. Caress. Perform oral sex. Don't rush things. Let your instinct take over. Remember; she's a person, just like you.
Can apple cider vinegar treat erectile dysfunction? Apple cider vinegar is thought to have many health benefits, but can it help treat erectile dysfunction (ED)? ED can result from cardiovascular problems, diabetes, and other factors. Apple cider vinegar may help improve symptoms of conditions related to ED. Find out how it may help, and how to use it safely. A Home-Based Walking Program Improves Erectile Dysfunction in Men With an Acute Myocardial Infarction. The American Journal of Cardiology, 115(5), 5741-575. Retrieved from http://www.ajconline.org/article/S0002-9149(14)02270-X/abstract