One thing that has helped me in the past was to not try to look ahead too far.
If you can't imagine making it a week, can you make it a day? If you can't face the day, can you deal with an hour? If an hour seems impossible, can you make it through just one minute?
The other thing was my DB coach made me promise not to make any major decisions while I was feeling down.
Sometimes it best to coast along for a bit until things are clearer. That's not the same as giving up.