Christ, I don’t think I’ve done anything productive, music-wise for at least two years.
It caused me no end of anxiety (still does from time to time) but a couple of years ago I started daily meditation. Nothing to do with my (lack of) music inspiration but just because I read a lot about consciousness and the mind. I learned to accept to be the person who I am in any give moment in time, thus to not give myself a hard time for not being that mythical “really productive and exciting musician” that I’d love to be but really only existed in my head. We’re not born musicians and there is nothing to say that we ever will be or should be. You find your stride, if you’re lucky, and some can run with it, others trip over or get bored or get distracted by other stuff. That’s being human.