Male sexual arousal is a complex process that involves the brain, hormones, emotions, nerves, muscles and blood vessels. Erectile dysfunction can result from a problem with any of these. Likewise, stress and mental health concerns can cause or worsen erectile dysfunction.
Sometimes a combination of physical and psychological issues causes erectile dysfunction. For instance, a minor physical condition that slows your sexual response might cause anxiety about maintaining an erection. The resulting anxiety can lead to or worsen erectile dysfunction.