* Sanitation: People were encouraged to keep their homes and surroundings clean, and to wash their hands frequently.
* Social distancing: People were advised to avoid crowded places and to stay at least six feet away from each other.
* Wearing protective clothing: People wore protective clothing, such as masks and gloves, to avoid coming into contact with the plague.
* Using herbal remedies: People used a variety of herbal remedies to try to prevent or treat the plague.
* Praying to God: Many people turned to prayer and religious rituals in an effort to protect themselves from the plague.
There is no one answer to your question. People took a variety of measures to avoid the plague, and the effectiveness of these measures varied. Some people were able to avoid the plague entirely, while others were not so lucky.