One thing for me was paying attention to what I ate, and what my brain did after I ate it. I found that some things would slam my brain anywhere from 15 minutes to 2 hours after I ate them. My mind did better if I stopped (or at least reduced) eating those things.