Your friend is experiencing depression
.Also diagnosed to have prostatic infection.
He needs to undergo some tests to rule out any organic primary cause for erectile dysfunction
.Both the conditions mentioned by u can produce secondary ED.The urologist
will be the best person to help u out and its good that U ll be taking an appointment with him.
All the best