This one is even easier: don't work for a sociopath and/or bully.
Likewise 1 in 100 people are sociopaths/psychopaths. Very manipulative, self-serving people with incredibly low empathy. The stupid ones end up in prison. The clever ones often end up being very successful, though nasty, bosses.
Do you work in an office with more than 100 people in it ... ?
I've been there twice and it's horrible.
The only advice I can give is GET OUT ASAP before you lose your confidence and think you're the problem.
Both times I didn't recognise what was happening.
I wish I'd read this article so I'd recognised the signs sooner.