Not feeling good without pot

I am addicted. Can anyone help me? I can't sleep without it. I can't focus on anything without using cannabis. It's day 2 and I've my exams going on I haven't slept all night it's 9 in the morning. I want to stop the dependency. I don't like being alone in my room. I've friends but they can't stay up all night can they? I need a sleeping aid. I can't fuck my exams anymore. Already getting atkt in one. I am cooked.