For starters, getting treated for my depression and anxiety was a huge help. One of the symptoms of depression is losing interest in things you used to find enjoyable, and for me that was video games. After I started going to therapy and taking an SSRI, I got back into video games not by playing the same games I was, but instead I played KOTOR II on my Switch. I hadn’t played that game in forever, but found it really enjoyable to just jump back in.
Personally, I think one of the worst things you can do when finding yourself in a gaming rut is to play repetitive grind games like Call of Duty or Destiny or the like.
Another thing I do is limit the amount I play, but this is more involuntary than not due to kids’ activities and whatnot. Right now I’m playing Jedi Survivor when I can, but mostly I’m watching my 6 year old daughter play Roblox and help her out when she gets stuck.
It’s Kotlin, actually.