Erectile dysfunction is defined as persistent trouble attaining and preserving an erection adequate to have intercourse.