Did people have warning of the black death?
News of the Black Death reached Europe about a year before the disease itself did. It spread across the Mediterranean area very quickly, by ship, and then overland more slowly to the north. People usually heard of it before it arrived.
I have read (sorry, I cannot remember where) that there were walled towns and cities that drew up the drawbridges over their surrounding moats, and treated the Black Death as though it had been a besieging army, keeping out everyone and everything until it passed, which was usually a period of some months. A very few such communities were able to survive without sickness and death because they were warned.