Explore how erections work, the role of nitric oxide and blood flow, and the main physical and psychological causes of erectile dysfunction, plus diagnosis and treatment options.