This historian warns against making the same mistake in a pandemic that we made 100 years ago