How did the plague stop?

It stoped in 1666. Some inteilgent people made this costume to keep the plague away from them