I lost a job twice during the dotcom era and again last year during COVID. It happens even to good people sometimes due to circumstances outside of your control.
The very best way to land a new job is by networking. Follow up with former coworkers, friends, and family for leads on possible positions. They can help you get your resume in front of the right people. Last year when things weren’t looking good at my company I started reaching out to my network. With my experience and salary, I was a little worried about finding something comparable. I hooked up with a former coworker who convinced his company to open a position for me. Two weeks later I had a new job with a sizable increase in salary.
By all means look on linked in or indeed or whatever and send your resume out too, but make sure you engage your network. It really is about who you know.