Measurement of the penile vibration perception threshold provides an inexpensive, reproducible, and painless screening test with acceptable sensitivity for detecting neuropathy. Abnormalities at the level of the sacral cord can be documented by sacral latency testing, while upper motor neuron impotence can be demonstrated with genital-cerebral evoked response testing. These latter procedures are not indicated in unselected patients with impotence.
Penile erection is managed by two mechanisms: the reflex erection, which is achieved by directly touching the penile shaft, and the psychogenic erection, which is achieved by erotic or emotional stimuli. The former uses the peripheral nerves and the lower parts of the spinal cord, whereas the latter uses the limbic system of the brain. In both cases, an intact neural system is required for a successful and complete erection. Stimulation of the penile shaft by the nervous system leads to the secretion of nitric oxide (NO), which causes the relaxation of smooth muscles of corpora cavernosa (the main erectile tissue of penis), and subsequently penile erection. Additionally, adequate levels of testosterone (produced by the testes) and an intact pituitary gland are required for the development of a healthy erectile system. As can be understood from the mechanisms of a normal erection, impotence may develop due to hormonal deficiency, disorders of the neural system, lack of adequate penile blood supply or psychological problems. Spinal cord injury causes sexual dysfunction including ED. Restriction of blood flow can arise from impaired endothelial function due to the usual causes associated with coronary artery disease, but can also be caused by prolonged exposure to bright light.
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. 
So what can you do to help things along a little? Well, chances are it may sort itself out as you settle in to your relationship. But if it keeps happening and you see a future in the relationship, you need to talk about it, or it will soon become the elephant in the bedroom. Pick a time with no distractions and where nobody can overhear you. Tell them that you care about them and that you don’t need to rush things sexually. This can take the pressure off the need to perform.
Achieving an erection is a complicated process, requiring transmission of sensations from the genital area to the nervous system and the return of nervous impulses to the muscles and blood vessels of the penis. Anything that interferes with this interchange, such as disease or injury of the blood vessels, muscles, or nerves, can make achieving and maintaining an erection difficult. Psychological factors, such as anxiety and depression, can also interfere with erectile function. Anxiety and depression may also develop as a consequence of impotence.
Causes contributing to erectile dysfunction can be broadly classified into two categories: organic and psychologic. In reality, while the majority of patients with erectile dysfunction are thought to demonstrate an organic component, psychological aspects of self-confidence, anxiety, and partner communication and conflict are often important contributing factors.
Can apple cider vinegar treat erectile dysfunction? Apple cider vinegar is thought to have many health benefits, but can it help treat erectile dysfunction (ED)? ED can result from cardiovascular problems, diabetes, and other factors. Apple cider vinegar may help improve symptoms of conditions related to ED. Find out how it may help, and how to use it safely. A Home-Based Walking Program Improves Erectile Dysfunction in Men With an Acute Myocardial Infarction. The American Journal of Cardiology, 115(5), 5741-575. Retrieved from http://www.ajconline.org/article/S0002-9149(14)02270-X/abstract