As someone with a TBI and several linked issues (military) I can say that if long COVID brain fog is similar it’s a tough road. The number one thing that helped me was lowering my stress; once that was done I started having far more “good” (high performance) days than “bad” (days where I was notably having cognitive issues).
Generally now it’s tied to my anxiety; if I can prevent a spiral I’m fine and operate at my previous normal. Preventing a spiral is the issue…