Brain fog

Whats the best ways you prevent brain fog or how you "treat" it when it happens?Do you have any solution with instant results?This common problem has a big effect on me and affects my schedule and the things that i have to do.Any answer would be appreciated!!!