Regular exercise boosts the growth of brain cells and the production of neurotransmitters, enhancing memory. A mix of aerobic (cardio) and strength exercises is best. If you're not getting enough sleep, you might be harming your cognition and memory. Aim for seven to nine hours each night.