The best thing you can do is talk to someone. Even if you don't feel like being physically around other people, pick up the phone and call someone. Don't leave your thoughts to yourself, otherwise, you can fall deeper into depression. I've been there before and it was by talking to my friends and family that I was able to come out of it.
It is hard to fail, but it is worse never to have tried to succeed.