Don't listen to your brain. It will give you a bunch of reasons to be sad, and ruminating about it will only pull you in deeper.
Ensure you have enough of the following: Sunlight, physical activity, sleep.
Set a specific time to sleep and wake. Get a step counter and ensure you are getting at least 10k steps a day. Regular walks during the daytime will help with both sunlight and activity.
After that, work on diet and social activity. If that doesn't fix it, talk to a professional.