First and foremost, take stock of your situation. So you got fired. It happens, sometimes to good and very skilled people. Do not get bogged down in any shame or guilt because of it, but DO own any shortcomings on your part that may have contributed to it. This is how you will help yourself grow and learn and know which direction to take for your future.
Almost nine years ago, I experienced the year.from.hell. It was awful. The year prior was one of the best years of my life. I was in my early thirties, met the man I was certain I would marry, had lots of friends and a great teaching job. Then one day my prince said he needed space and we broke up. I was devastated beyond belief. I didn't go to a church then and didn't grow up going to a church, but I did feel a closeness to God and prayed to him often during this time. I was so fixated on my breakup and despair that it was affecting my job as a teacher. I finally became fearful I was going to get fired because it. I am a talented teacher, but I wasn't giving my best to my job at that time. Luckily, God placed a fellow co-worker in my path that I could trust and respect and she helped me get back on my feet in regard to my job. At the end of the school year, I decided to move to be closer to my older brother and his family. For years he and his wife had urged my mom and I to move. My mom wanted to go, but I was always the one that dragged my feet on the idea and I knew she would never go unless I went with her. Finally, I decided this was the best time to go. I was in a funk and needed a change. 6 months after the move, I met my husband. We were married exactly two years later. Our son was born a year and a half after that and our daughter another 18 months after my son. I also received National Board Certification which is a prestigious and rigorous certification among teachers. My life has been one blessing after another since.
The thing is, sometimes these life-altering experiences happen that rocks us to the core, and all you can do while your in it, is hang on for dear life and get through it. Sometimes it has to rock us so hard that we will be willing to make a drastic change. I thought I would live in my childhood hometown for the rest of my life. Turns out my entire life was meant to be in another city and state. It isn't until afterward that you can reflect on your circumstances to see all the blessings that were just waiting to unfold for you in their own perfect timing.
My husband's friend and co-worker, was recently let go from his job. He had been with this company for many years and was a fantastic employee. However, his skill set just didn't jibe with the current role he was in. As devastating as it was for my husband to see his friend go, I am confident that there is something perfect out there just waiting for him . It's like God is saying, "This might sting for a bit, but I promise it will heal and you will be better than ever for it." I truly with all my heart believe that is what he was saying to me during my struggles and is saying something similar to you now. You just have to keep your eyes, ears, heart and mind open for his advice. He will never lead you down a wrong path!
I agree with some of the other responses you have received so far, look into getting a life coach, or if you attend church see what resources they have that can help you with your new path. Did you attend college? Check with your alumni center, they can help you discover untapped interests and skills you may have and also hone your resume. Read StrengthsFinder 2.0 by Tom Rath. It may give you some insight on your individual strengths. Even if you didn't attend college, call a local community college or university closest to you, they will probably still be able to help you.
And above all else, talk to God, pray to him, meditate, read the bible and quiet yourself so you can hear what he is saying to you and what direction he is leading you in. During my time of struggle I read the book A Purpose-driven Life by Rick Warren. It helped me on my spiritual journey and now it seems my life is a series of blessings that I am constantly connecting the dots of where life has led me! It is truly amazing!! Good luck to you and God Bless!