The doctor's advice helped the patient get a sturdy erection