Exercising the mind is just as important as the time you spend in the gym.