The primary nerve fibers to the penis are from the dorsal nerve of the penis, a branch of the pudendal nerve. The cavernosal nerves are a part of the autonomic nervous system and incorporate both sympathetic and parasympathetic fibers. They travel posterolaterally along the prostate and enter the corpora cavernosa and corpus spongiosum to regulate blood flow during erection and detumescence. The dorsal somatic nerves are also branches of the pudendal nerves. They are primarily responsible for penile sensation. 
Arterial revascularization procedures have a very limited role (e.g., in congenital or traumatic vascular abnormality) and probably should be restricted to the clinical investigation setting in medical centers with experienced personnel. All patients who are considered for vascular surgical therapy need to have appropriate preoperative evaluation, which may include dynamic infusion pharmaco-cavernosometry and cavernosography (DICC), duplex ultrasonography, and possibly arteriography. The indications for and interpretations of these diagnostic procedures are incompletely standardized; therefore, difficulties persist with using these techniques to predict and assess the success of surgical therapy, and further investigation to clarify their value and role in this regard is indicated.
Endocrine evaluation consisting of a morning serum testosterone is generally indicated. Measurement of serum prolactin may be indicated. A low testosterone level merits repeat measurement together with assessment of luteinizing hormone (LH), follicle-stimulating hormone (FSH), and prolactin levels. Other tests may be helpful in excluding unrecognized systemic disease and include a complete blood count, urinalysis, creatinine, lipid profile, fasting blood sugar, and thyroid function studies.