He should ask his doctor. It is true that a lot of different kinds of medications can cause problems sexually, so he probably is not fibbing.
Just as Annie said, certain medications can most definitely affect a mans ability to have an erection/sex. Kidney dialysis will do exactly the same thing. It all comes down to the man's ability to learn to cope with his limitations... because obviously the medication is both important and necessary! Take care.