Your best friend could not clear a competitive examination. You will
1
Stop talking to him for the time he gets normal.
2
Try to console and motivate him for the next time.
3
Talk to his parents about the shortcomings in his preparation.
4
Scold him for being failed in the examination.