Routine vaccines for RSV, COVID-19, shingles, and other infectious diseases are also linked with a lower risk of developing dementia.