Anxiety inducing nightmares

It's been overwhelming lately. I'm so overwhelmed by stressed and the triggers are so frequent and the outbursts so intense that I fear it might be psychosis that I'm experiencing. I've an upcoming crucial exam which has caused this fuckall life crisis for me. everyday I wake up from these terrible dreams, irrespective of the time and duration of my sleep. The impeding fear of failure and staying a nobody is haunting me. I contemplate suicide every now and then. Yesterday I tried to burn my arm. There have been several instances of me trying to cut myself to find some relief. Life's been chaotic, and hopeless for the last couple years. I just need enough strength to survive and endure the next couple weeks so I don't die and give my best in this fucking exam. Anything I can look forward to for the next 15 days?

It used to be food to fill my void but it made me obese and unstable. I've worked my ass off to become fit and then it turned into an unhealthy obsession with shopping as a result of my fitness. And an increased dependency on the gym. But my gym is closed for next few weeks and I really need something apart from studies to keep me from harming myself. Suggestions, help please. Anything?