>>11316136breathe oxygen
eat food
sleep regularly and sufficently
don't dehydrate
be aware of pharmacology and stay away from anything that throws your brain-chemistry out of balance
(aka don't do drugs)
and educate yourself about the first principles that define the universe physically.
those basics will keep your brain performance at it's optimum
Lots of educational institutions will attempt to mislead you by making you remember bulk information which is barely relevant (and barely accurate). Don't fall for that trap. Focus on what is of consequence in this universe.
And if you need help with that, read Nietzsche and play KSP