Hey,
Failures can often lead to depression. Depression constitute of following set of symptoms- persistent sadness, lack of interest in pleasurable activities, feeling tired all the time, decreased self- confidence, low self- esteem, pessimism etc. If you notice these symptoms in you then seek help because depression can worsen your performance. You need to be mentally healthy when you are appearing for exams.
Next Steps
So please friend seek professional help immediately.