It depends on your specific situation. If you have enough capital reserves, you can consider taking a break to recharge, relax and reposition your career goals and career plans, so it is entirely possible to take a break. This will help you to think better about what kind of work you want to do, or how to develop your career, and also help you to better recover your physical and mental health.
On the other hand, if you need to find a new job as soon as possible to support yourself and your family, or if you want to start a new career as soon as possible, you may need to start looking for a job immediately.
To sum up, this is a very personal decision, which needs to be judged according to your specific situation and needs.