Check your diet. I had what you describe of brain fog for years as I was training as an endurance athlete and eating loads of carbs and minimal fat. It kept my weight down, but I suffered from brain fog. I finally figured out with help that I am more productive with more fats and protein in my diet and the brain fog is gone. It really requires some fine tuning of macronutrients you consume. Charlie