In 1527 Europe was being swept by a recurrence of the Black Plague which had been devastating Europe for the previous two centuries. Martin Luther wrote a letter "to the Reverend Doctor Johann Hess, pastor at Breslau, and to his fellow-servants of the gospel of Jesus Christ," with advice on Christian faithfulness during the pandemic. His advice applies equally to us today.
I shall ask God mercifully to protect us. Then I shall fumigate, help purify the air, administer medicine, and take it. I shall avoid places and persons where my presence is not needed in order not to become contaminated and thus perchance infect and pollute others, and so cause their death as a result of my negligence. If God should wish to take me, he will surely find me and I have done what he has expected of me and so I am not responsible for either my own death or the death of others. If my neighbor needs me, however, I shall not avoid place or person but will go freely, as stated above. See, this is such a God-fearing faith because it is neither brash nor foolhardy and does not tempt God.
To read Martin Luther's complete letter, see the following link.
Martin Luther - Whether One May Flee From A Deadly Plague
Martin Luther, Luther’s Works, Vol. 43: Devotional Writings II, ed. Jaroslav Jan Pelikan, Hilton C. Oswald, and Helmut T. Lehmann, vol. 43 (Philadelphia: Fortress Press, 1999), 119–38. Used by permission.