How to cheer someone up?

My friend is sexually frustrated with my friend and I want to cheer him up. I told him he has to respect her wishes but I don't like seeing him sad.

Anything I can say to him?