However, if you are unable to get an erection under any circumstances, it is likely that the underlying cause is primarily physical.
Because this is such a basic physiological process, many doctors ask whether a man has nighttime erections to determine the cause of erectile dysfunction.