Guy physical examination erection

This guy have some problems with erection and visit doctor to help him. After dick exam doctor put guy on back and start prostate massage. After 2 minutes of massage his dick was hard. But in which was problem with erection? Maybe this guy dick make harder only after anal sex?