How pandemics can influence the course of public health