Exercising regularly, eating healthy and stimulating the brain can help prevent the condition, research shows.