Distract yourself into some offline activity which you love especially with someone you are comfortable with.
Once mind in place, deal with the problem which lead to depression in the first place. But if nothing can be done about the issue, then stop worrying about it. Work around it.
I make it look easy but I know its not.
I just hope that you were just high while writing this but if not then you gotta fight for your life and freedom.