I think sometimes those bad days are actually what motivate you the most to keep going. The typical advice is to take a break for a few days or even weeks, and that can definitely help.
But sometimes you can also use that frustration as motivation to do better the next day. We all know how poker is. Sometimes things go your way, and most of the time they don’t. But if you keep playing, the chances of eventually having your good day are higher.