As someone still recovering from brain fog related to long covid, this has been on my mind a lot.
Learning languages has helped me tremendously. Try #tokipona for something easy-ish.
Trying out new ways of performing "autopilot" tasks, like how I type on my phone, shakes up the ruts for me.
Doing things with my hands like sculpting and painting, has helped. Really, anything that gets me aware of my physicality. There's pathways there that get fired less often in other activities.