Playing a musical instrument can stave off dementia as those skilled in music have better brain health as they get older.