"It's not what happens to you, but what you do about it."
That might not be what you want to hear right now, but think about it: This sudden change could have a silver lining -- so commit yourself to finding it.
Take some time for yourself, even just a few quiet hours alone and reflect on all the things you truly liked and disliked about your job.What would you have done differently?Were you there because you had to be, or because you wanted to be? Ask yourself how you can now take the next step learning from your past experience. Is there a chance to take a step up? Or to change industries or careers entirely if you weren't as happy as you wanted to be? So many times, abrupt changes like this are exactly what people need to get out of a rut and move on to something they'd really love to be doing