So sorry to hear you went through that heartache. I'm glad life (and of course your efforts) gave you some fortune.
For me - going through burnout and depression, my brain felt almost like it would hit a wall any time I wanted to learn something new. At the time it felt like it was energy or sugar deprived.
Took a month of no work and just relaxing, playing video games (I joke sometimes that Witcher 3 healed me) and doing the core things, exercise, talking, spending time with my family and friends and sleeping/eating right slowly pulled me away from that raw feeling of apathy.
Everything else followed once I started basic self care, but boy did it take time to feel somewhat 'normal' though I still feel 'different' following the experience.