According to Google, "Watch your eating patterns and make sure to eat semi-regularly so as to not deplete the glucose your neurons use for energy
. Eat a balanced diet that includes good levels of B-12 and D vitamins, as well as healthy fats
. Avoid smoking and drinking excessive alcohol." So these can be ways.