How do you deal with bad managers?

Inevitably, I imagine some good employees get lost in the noise of all this.