Erectile dysfunction is a sexual disorder in men where building or maintaining (or both) penile erection solid enough for men becomes impossible during sexual intercourse. The mechanism of the neural system leads to erection in men. Penile erection is attained when the soft muscles in the penis called corpora cavernosa are relaxed, allowing the flow of blood in the region. Hormonal balance and testosterone levels also affect erection in men.