To be healthy (which can have many implications,including and not limited to better memory, thinking skills, lifespan etc.), You need to master a few basic principles in life.
Those basic principles seem to be
Body - adequate rest (sleep), regular exercise (activity) etc. & Mind - less stress/destress, positive mind, happiness etc.
Huh. Rocket science?