As someone who often falls into burnout and creative slumps with my art and animation, I find that taking a little step out of your comfort zone and trying something different really helps! It can be a different medium, a different style, etc. as long as you’re doing something creative.
Oftentimes what gets me out of my slumps is switching from digital to traditional art, and also doing a bit of writing! I always return reinvigorated and full of ideas.