These preventive measures might help delay dementia or cognitive decline