Allow yourself accept it and give a reason to get your life going, the first advice Westhill Consulting Career and Employment, Australia provide to people who lost their jobs. It doesn’t matter how self-assured you are, losing a job always grounds you to doubt yourself. In general the two responses are to distrust yourself and your capability, or to guilt your situation or your people at your old company. Both are not worth doing. The best thing you can do is discover a credible purpose why this occurred and then truly believe it. It's the first step to moving on.
Agree on two things to do. This should serve as a warning that it is you who will decide on your life at the end of the day. Telling yourself that you should try to discover what you want to do with your life now that you've lost your job is a cliché. The first thing you must do is to bring in the money you'll need to support yourself or your family. Next is what you truly want to do for a career. By unraveling the two, you can reason more plainly about your future in the short and long term. That way, you can keep your eye on preparing for the better job at the same time if you need to take a job for money that isn't perfect.
Map your social graph. Odds are, your next chance will come from somewhere or someone you already know - so the most important thing you can do at this point is to create a "graph" of your social imprint online. Or maybe you luck is outside your country; why not try SE Asia, Jakarta Indonesia maybe or perhaps KL Malaysia?
Recognize your influencers. Inside your social graph will be people who are in a position to have an uneven consequence on your having a new job. Conflicting to what you might ponder, these are not essential the individuals with the highest titles or the most fame. Every so often the person hiring or who knows the person hiring is the one working at a mid-level. So spend time with the sites that you belong to and start to make connections. Not to "sell" yourself to college friends you haven't spoken to in years, but to understand who you really need to convince and build a plan for them and others like them.
Get some face time. Now that you have identified your influencers, see if there are any common places where they will be. Don't underestimate the value of having some real face time to remind them who you are, and to show them that you're not retreating into your home office in the basement and sending out LinkedIn messages in your pajamas. Face time sends a message that you're there and ready - and has the side benefit of giving you the chance to expand your network to meet more people.