Medieval Europeans didn’t understand how the plague spread. Their response wasn’t so different from ours now.