The association between low testosterone and ED is not entirely clear. Although these 2 processes certainly overlap in some instances, they are distinct entities. Some 2-21% of men have both hypogonadism and ED; however, it is unclear to what degree treating the former will improve erectile function.  About 35-40% of men with low testosterone see an improvement in their erections with testosterone replacement; however, almost 65% of these men see no improvement. 
If a trial of oral therapy and withdrawal of offending medications do not restore erectile function or if a patient has medical or financial contraindications to pharmacologic therapy, most primary care practitioners should consider referring the patient to a specialist for additional evaluation and discussion of alternative treatment options. However, some primary care practitioners may recommend vacuum constriction devices.
Pay attention to your vascular health. High blood pressure, high blood sugar, high cholesterol, and high triglycerides can all damage arteries in the heart (causing heart attack), in the brain (causing stroke), and leading to the penis (causing ED). An expanding waistline also contributes. Check with your doctor to find out whether your vascular system — and thus your heart, brain, and penis — is in good shape or needs a tune-up through lifestyle changes and, if necessary, medications.
Having your current medication checked – if you are taking medication already, it could be that your erection problems are a side effect. Have a doctor check whether this is the cause of your problems and if it is, you might be able to switch medications and then find that your erectile dysfunction goes away completely – or at least improves. Medications that can cause erection problems include:
early 15c., "physical weakness," also "poverty," from Middle French impotence "weakness," from Latin impotentia "lack of control or power," from impotentem (nominative impotens); see impotent. In reference to a want of (male) sexual potency, from c.1500. The figurative senses of the word in Latin were "violence, fury, unbridled passion." Related: Impotency.
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.
A physical exam checks your total health. Examination focusing on your genitals (penis and testicles) is often done to check for ED. Based on your age and risk factors, the exam may also focus on your heart and blood system: heart, peripheral pulses and blood pressure. Based on your age and family history your doctor may do a rectal exam to check the prostate. These tests are not painful. Most patients do not need a lot of testing before starting treatment.