Stay calm and accept it with dignity. It's not criminal to get fired, as it's not criminal to get divorced, it's just means it was not a good marriage and your partner decided to take the first step. The way there is some one for every job, there is a job for everyone, you only need to use right resources and right attitude to reach there.
Unless, if it is for some ethical issue that lead you to this then only God can help you.
If I get fired I'm going to be thonking really hard because I didn't know I had a job.
ayyy