High cholesterol and triglyceride levels increase the risk of cardiovascular disease. Getting your cholesterol and triglyceride levels in an optimal range will help protect your heart and blood vessels. Cholesterol management may include lifestyle interventions (diet and exercise) as well as medications to get your total cholesterol, LDL, HDL, and triglycerides in an optimal range.
A common and important cause of ED is vasculogenic. Many men with ED have comorbid conditions such as hyperlipidemia, hypercholesterolemia, tobacco abuse, diabetes mellitus, or coronary artery disease (CAD).  The Princeton III Consensus recommends screening men who present with ED for cardiovascular risk factors; ED may be the earliest presentation of atherosclerosis and vascular disease. 
If you have been having ED for more than two months, you should see a doctor to find the cause. To detect the cause of ED, your doctor will take a history of when you started to have problems with erections and sex drive, illnesses or injuries that could cause ED, and any recent physical or emotional changes in your life. You also will need to review all the medications you take. The evaluation most often includes a physical exam.
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.
ED usually has something physical behind it, particularly in older men. But psychological factors can be a factor in many cases of ED. Experts say stress, depression, poor self-esteem, and performance anxiety can short-circuit the process that leads to an erection. These factors can also make the problem worse in men whose ED stems from something physical.
Whatever happens, remember there are still ways you can have fun and be intimate even if your partner can’t get an erection. Exchanging sexy texts, reading erotic literature, and indulging in sensual massage can all help to relax, inspire and increase intimacy. Of course, every couple is different and it may take a while to find out what works for you.
Most of us are raised to believe that men are ravenous sex-beasts, eternally horny and only pretending to be a part of polite society so that they can find some new crevice to jam their Jeremy Irons into. So the first time we cross paths (and genitals) with a guy who can't get an erection, many of us immediately panic and assume that the problem must be us. We must be profoundly unsexy. After all, what could else possibly stop these hormone-addled maniacs from getting an erection?
What happens is that the blood vessels of the penis are rather small, and a small amount of plaque in the penile arteries is going to result in erectile dysfunction. You need more plaque before the person’s actually symptomatic from a heart problem, but they’re linked. And so when anybody, any man has an erectile issue, it’s incumbent upon the physician to make certain that their cardiac status is healthy.
Sexual dysfunction and ED become more common as men age. The percentage of complete ED increases from 5% to 15% as age increases from 40 to 70 years. But this does not mean growing older is the end of your sex life. ED can be treated at any age. Also, ED may be more common in Hispanic men and in those with a history of diabetes, obesity, smoking, and hypertension. Research shows that African-American men sought medical care for ED twice the rate of other racial groups.