Your best friend failed in a competitive examination and was very upset. You will
1
Stop talking to him for the time he gets normal.
2
Try to console and motivate him and help in his preparation.
3
Scold him for the shortcomings in his preparation.
4
Ask him to appear in other exams which are easy to crack.