Tell him:
1) this is not end of life
2) failure is the stepping stone for every success
3) start ur preparation for next examination
4) every great person had met some failures
5) support him
6) make targets or strategies for next time
7) say better luck next time
8) health is wealth . Therefore we should take care of our health
9) eat healthy food
10) tell her parents to keep her happy
11) past is past so we should look for the future