CBT for actually getting out of a rut and sitting meditation (zazen) for staying out of it. There are many more things that help, like reducing alcohol and caffeine, regular exercise…. but meditation is what really changed the game for me.
I’d just recommend you start it with a qualified teacher. Or at least read up on it (I recommend https://www.mctb.org/ and “the mind illuminated”).