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.
Testosterone is included in the World Health Organization's list of essential medicines, which are the most important medications needed in a basic health system. It is available as a generic medication. The price depends on the form of testosterone used. It can be administered as a cream or transdermal patch that is applied to the skin, by injection into a muscle, as a tablet that is placed in the cheek, or by ingestion.
Once a complete sexual and medical history has been completed, appropriate laboratory studies should be conducted. In the initial evaluation of ED, sophisticated laboratory testing is rarely necessary. For example, serum testosterone (and sometimes prolactin) is typically only useful when the patient demonstrates hypogonadal features or testicular atrophy, or when clinical history is suggestive. Additional hormonal evaluation may include thyroid stimulating hormone in those with a clinical suspicion of hypothyroidism or appropriate diabetes screening in those presenting with a concern for impaired glucose metabolism. If the patient has not been evaluated with a lipid panel and hyperlipidemia is suspected, measurement and appropriate referral to internal medicine or cardiology is recommended. In most cases, a tentative diagnosis can be established with a complete sexual and medical history, physical examination, and limited or no laboratory testing.
Another study compared the response of surgically and medically castrated rabbits to vardenafil with that of control rabbits.  Castrated rabbits did not respond to vardenafil, whereas noncastrated rabbits did respond appropriately. This result suggests that a minimum amount of testosterone is necessary for PDE5 inhibitors to produce an erection.
Think of erectile dysfunction as your body’s “check engine light.” The blood vessels in the penis are smaller than other parts of the body, so underlying conditions like blocked arteries, heart disease, or high blood pressure usually show up as ED before something more serious like a heart attack or stroke. ED is your body’s way of saying, “Something is wrong.” And the list of things that cause erectile dysfunction can include:
Intramuscular testosterone injections were first used around fifty years ago. Commercially available preparations contain testosterone esters in an oily vehicle. Esterification is designed to retard the release of testosterone from the depot site into the blood because the half life of unmodified testosterone would be very short. For many years intramuscular preparations were the most commonly used testosterone therapy and this is still the case in some centers. Pain can occur at injection sites, but the injections are generally well tolerated and free of major side effects. Until recently, the available intramuscular injections were designed for use at a frequency of between weekly and once every four weeks. These preparations are the cheapest mode of testosterone treatment available, but often cause supraphysiological testosterone levels in the days immediately following injection and/or low trough levels prior to the next injection during which time the symptoms of hypogonadism may return (Nieschlag et al 1976). More recently, a commercial preparation of testosterone undecanoate for intramuscular injection has become available. This has a much longer half life and produces testosterone levels in the physiological range throughout each treatment cycle (Schubert et al 2004). The usual dose frequency is once every three months. This is much more convenient for patients but does not allow prompt cessation of treatment if a contraindication to testosterone develops. The most common example of this would be prostate cancer and it has therefore been suggested that shorter acting testosterone preparations should preferably used for treating older patients (Nieschlag et al 2005). Similar considerations apply to the use of subcutaneous implants which take the form of cylindrical pellets injected under the skin of the abdominal wall and steadily release testosterone to provide physiological testosterone levels for up to six months. Problems also include pellet extrusion and infection (Handelsman et al 1997).
Commercials do mention other potential side-effects for the male user, calling them "rare," including swollen and painful breasts, blood clots in the legs, increased risk for prostate cancer, problems breathing during sleep (sleep apnea), change in the size and shape of the testicles, and a low sperm count. But you're not supposed to focus on the details. Instead, just think of the energy you'll have. The great sex you'll have. And the muscles. It will be a veritable second adolescence as your aging body bursts into new bloom.
If PDE-5 inhibitors are not suitable or don’t work, other therapies include injections into the base of the penis, which cause flow of blood into the penis and a fairly immediate erection that lasts around an hour. The drugs injected are alprostadil (Caverject and Erectile dysfunctionex) and Invicorp (VIP and phentolamine). Alprostadil may also be inserted as a gel into the opening of the penis. This is not suitable if your partner is pregnant.
An analysis of 14 studies involving more than 90,000 patients with ED confirmed the relation between ED and an increased risk of cardiovascular events and mortality.  Compared with patients without ED, those with ED had a 44% increased risk of cardiovascular events, a 25% increased risk of all-cause mortality, a 62% increased risk of MI, and a 39% increased risk of cerebrovascular events. Treatment of ED, either through lifestyle interventions or by pharmacologic means, may improve prognosis and reduce risk.
The development of an erection is a complex event involving integration of psychologic, neurologic, endocrine, vascular, and local anatomic systems. Positron emission tomography scanning studies have suggested that sexual arousal is activated in higher cortical centers that then stimulate the medial preoptic and paraventricular nuclei of the hypothalamus.5 These signals ultimately descend through a complex neural network involving the parasympathetic nervous system and eventually activate parasympathetic nerves in the sacral area (S2 to S4).