The more you puff, the more you put your penis at risk, according to a study from the Tulane University School of Public Health and Tropical Medicine. The researchers examined 7,684 men between the ages of 35-74 and concluded about 23 percent of erectile dysfunction cases can be chalked up to cigarette smoking. This is probably the best motivator If you've been struggling to quit.
Certain types of blood pressure medications, antiulcer drugs, antihistamines, tranquilizers (especially before intercourse), antifungals (hetoconazole), antipsychotics, antianxiety drugs, and antidepressants, known as selective serotonin reuptake inhibitors (SSRIs, including Prozac and Paxil), can interfere with erectile function. Smoking, excessive alcohol consumption, and illicit drug use may also contribute. In rare cases, low levels of the male hormone testosterone may contribute to erectile failure. Finally, psychological factors, such as stress, guilt, or anxiety, may also play a role, even when the impotence is primarily due to organic causes.
Ultrasound with Doppler imaging (ultrasound plus evaluation of blood flow in the arteries and veins) can provide additional information about blood flow of the penis and may help in the evaluation of patients prior to surgical intervention. This study is typically performed after the injection of a chemical that causes the arteries to open up, a vasodilator (prostaglandin E1), into the corpora cavernosa in order to cause dilation of blood vessels and promote blood flow into the penis. The rate of blood flow into the penis can be measured along with an evaluation of problems with compression of the veins.
Now, there are lots of ways that you can reduce stress and anxiety in your life. One of those things you can do is exercising daily. Now, it doesn’t mean getting into a gym all the time, but it can just be doing sit-ups at home, long walks at the grocery store, bicycling, and if you can afford the gym, getting there maybe two to three days a week. But don’t forget, a healthy body equals a healthy mind. Meditation, yoga, breathing exercises– now, here’s where you can take a few moments to be centered and communicate with your inner self, peace. Healthy eating– now, taking control of the intake of what goes into your body makes you to start feeling better and looking better. That wellness is the opposite of anxiety. And treating issues and tackling things that are weighing you down, taking that very first step is liberating.
The 4 ED medicines we prescribe – Generic sildenafil 20 mg, Viagra (also sildenafil), Cialis (Tadalafil), or Levitra (Vardenafil) - are generally safe but shouldn’t be used as recreational drugs. They’re meant to treat a medical condition and can cause serious side effects including but not limited to an erection lasting more than four hours, sudden loss of vision in one or both eyes, and sudden decrease or loss of hearing.
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). 
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 Massachusetts Male Aging Study (MMAS) documented an inverse correlation between ED risk and high-density lipoprotein (HDL) cholesterol levels but did not identify any effect from elevated total cholesterol levels.  Another study involving male subjects aged 45-54 years found a correlation with abnormal HDL cholesterol levels but also found a correlation with elevated total cholesterol levels. The MMAS included a preponderance of older men.
For younger men, erection problems usually go hand-in-hand with anxiety. It goes something like this. He fancies you and wants to turn you on. But he’s also worried he might not get, or keep, his erection (particularly if he really likes you and/or if this has been a problem in past relationships). These worries mean that when you try and have sex he doesn’t get hard at all, or loses his erection when he tries to penetrate you.
Qaseem, A., Snow, V., Denberg, T. D., Casey, D. E., Forciea, M. A., Owens, D. K., & Shekelle, P. (2009). Hormonal testing and pharmacologic treatment of erectile dysfunction: A clinical practice guideline from the American College of Physicians. Annals of internal medicine, 151(9), 639-649. Retrieved from http://annals.org/aim/article/745155/hormonal-testing-pharmacologic-treatment-erectile-dysfunction-clinical-practice-guideline-from