The dorsal artery provides for engorgement of the glans during erection, whereas the bulbourethral artery supplies the bulb and the corpus spongiosum. The cavernous artery effects tumescence of the corpus cavernosum and thus is principally responsible for erection. The cavernous artery gives off many helicine arteries, which supply the trabecular erectile tissue and the sinusoids. These helicine arteries are contracted and tortuous in the flaccid state and become dilated and straight during erection. 
Since endothelial dysfunction, CVD and ED are closely associated in epidemiological studies, the question for clinicians is whether to recommend the man presenting with ED undergo a cardiovascular (CV) evaluation. Clearly, based on numerous studies, ED can be considered at least a ‘marker’ for possible further vascular disease or CVD.15 In their report, Vlachopoulos and coworkers make the point that the man presenting with ED, the clinician, is offered an opportunity to attempt to improve the health of the man by addressing lifestyle modification, and consider further vascular evaluation owing to the clear relationship between endothelial dysfunction, ED and CVD.19
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.
Diabetes mellitus: Erectile dysfunction tends to develop 10 to 15 years earlier in diabetic men than among nondiabetic men. The increased risk of erectile dysfunction among men with diabetes mellitus may be due to the earlier onset and greater severity of atherosclerosis (hardening of the arteries) that narrows the arteries and thereby reduces the delivery of blood to the penis. Atherosclerosis can affect the arteries in the penis, as well as the arteries in the pelvis that supply the penile arteries. Diabetes mellitus also causes erectile dysfunction by damaging nerves that go to the penis, much like the effect of diabetes on nerves in other areas of the body (diabetic neuropathy). Diabetes can also affect the muscles in the penis, leading to troubles with erections. Smoking cigarettes, obesity, poor control of blood glucose levels, and having diabetes mellitus for a long time further increase the risk of erectile dysfunction in people with diabetes.
Erections are more complicated than you think. Your brain, nerves, heart, blood vessels, and a whole lot of hormones have to work together perfectly or nothing happens. It’s a lot to ask, and sometimes things break down. And while ED happens to most guys at some point in their lives, erectile dysfunction isn’t something you can just ignore and hope it goes away.
The penis contains three cylinders, the two corpora cavernosa, which are on the top of the penis (see figure 1 below). These two cylinders are involved in erections. The third cylinder contains the urethra, the tube that the urine and ejaculate passes through, runs along the underside of the penis. The corpus spongiosum surrounds the urethra. Spongy tissue that has muscles, fibrous tissues, veins, and arteries within it makes up the corpora cavernosa. The inside of the corpora cavernosa is like a sponge, with potential spaces that can fill with blood and distend (known as sinusoids). A layer of tissue that is like Saran Wrap, called the tunica albuginea, surrounds the corpora. Veins located just under the tunica albuginea drain blood out of the penis.
Poor sleep patterns can be a contributing factor for erectile dysfunction, Mucher says. One review published in the journal Brain Research emphasized the intricate relationship between the level of sex hormones like testosterone, sexual function, and sleep, noting that testosterone levels increase with improved sleep, and lower levels are associated with sexual dysfunction. Hormone secretion is controlled by the body’s internal clock, and sleep patterns likely help the body determine when to release certain hormones.
Picture of penile tumescence monitor. This penile tumescence monitor is placed at the base and near the corona of the penis. It is connected to a monitor that records a continuous graph depicting the force and duration of erections that occur during sleep. The monitor is strapped to the leg. The nocturnal penile tumescence (NPT) test is conducted on several nights to obtain an accurate indication of erections that normally occur during the alpha phase of sleep.
In comparison, 37% of men who had received external radiotherapy as their primary therapy reported the ability to attain functional erections suitable for intercourse, along with 43% of men who had received brachytherapy as primary treatment. Pretreatment sexual health-related quality of life score, age, serum prostate-specific antigen (PSA) level, race or ethnicity, body mass index, and intended treatment details were associated with functional erections 2 years after treatment. 
Sildenafil has been previously suggested as a treatment option for ED in men with epilepsy (77,78). However, Matos et al. warned that PDE5i are potentially pro-convulsant and should be used with great caution in men with epilepsy (79). Animal studies in rat and mice overwhelmingly suggest PDE5i can reduce seizure threshold. In human trials, seizures were rare but reported. PDE5i exerted their proconvulsive effect by lower seizure threshold possibly by worsening sleep or obstructive sleep apnea, causing cardiovascular changes, or leading to EEG changes specifically with tadalafil use.
Physicians make a diagnosis of erectile dysfunction in men who complain of troubles having a hard enough erection or a hard erection that does not last long enough. It is important as you talk with your doctor that you be candid in terms of when your troubles started, how bothersome your erectile dysfunction is, how severe it is, and discuss all your medical conditions along with all prescribed and nonprescribed medications that you are taking. Your doctor will ask several questions to determine if your symptoms are suggestive of erectile dysfunction and to assess its severity and possible causes. Your doctor will try to get information to answer the following questions:
Erections are initiated and maintained via integration of afferent inputs in the supra sacral regions of the central nervous system. Regions of the brain cited to have key roles in the integration of signals include the medial amygdala, MPOA, periaqueductal gray matter, paraventricular nucleus (PVN), and ventral tegmentum among others (16). Studies in animal models, particularly in rats, have been paramount in identifying these key areas of signal integration and control. Electrostimulation of the MPOA, PVN and hippocampus lead to erection and lesions in these areas may prevent erection (17). Marson et al. injected labeled pseudorabies virus into rat corpora cavernosa and traced them to neurons in the spinal cord, brain stem and hypothalamus (18). Stimulation of the rat dorsal nerve led to increased firing in the MPOA not found elsewhere (19). Axonal tracing in animals have shows direct projections from the hypothalamus to the lumbosacral autonomic erection centers. Oxytocin and vasopressin have been identified as central neurotransmitters within the hypothalamic nuclei and may have a role in penile erection (17). These signaling studies identifying key areas of erectile response integration may explain how ED is associated with cerebrovascular accident (CVA), Parkinson’s, epilepsy and MS.
Alteration of NO levels is the focus of several approaches to the treatment of ED. Inhibitors of phosphodiesterase, which primarily hydrolyze cGMP type 5, provided the basis for the development of the PDE5 inhibitors. Chen et al administered oral L-arginine and reported subjective improvement in 50 men with ED.  These supplements are readily available commercially. Reported adverse effects include nausea, diarrhea, headache, flushing, numbness, and hypotension.
Knowing about your history of ED will help your health provider learn if your problems are because of your desire for sex, erection function, ejaculation, or orgasm (climax). Some of these questions may seem private or even embarrassing. However, be assured that your doctor is a professional and your honest answers will help find the cause and best treatment for you.