The psychologist helped the guy with his erection problems using therapy