Unfortunately once in a while the thing you hope never happens does and you lose a job. There's many reasons you can unexpectedly lose a job and some of them are out of your control, but occasionally it can be a good thing to help you refocus where you want your next move to be. I've been in those shoes and it's really a mixed bag of emotions.
If you do lose a job the first thing you should do is look into if you're eligible for employment insurance (EI) benefits. The Government of Canada website has instructions on what information you need to gather to get the ball rolling to apply for EI benefits.
After that take some time to breathe and think about what you want to do now. Are you going to take some time off to decompress? Are you going to jump right into job searching? Are you going to go back to school to learn something new? Whatever you do just give yourself some time to think through what you really want to do, not what you think you should do.
Now that you have some time on your hands start thinking about volunteering with an organization you're passionate about. Not only will it be fulfilling you'll be expanding your network of contacts and experience and will have something to put on your resume to fill in the gap of time while you're looking for a job.
Consider networking with people in your industry or people you've worked with in the past. Many jobs are found through connections so it can be helpful to get the word out that you're looking for a new opportunity.
And most importantly make sure to take care of your own mental health. Losing a job can one of the most challenging phases you can go through so make sure you have the support you need to get through it. Talk to friends, family or a professional therapist. It's important to realize that you're not alone and many people have also lost jobs but for some reason few people talk about it.