Below is a presentation I gave a few years ago to a coder academy class about working in bad teams as a junior developer. Whilst this is targeted at software development the lessons here are universal.
TLDR: Bad teams happen for all different reasons and none of them are your fault. If you're in one get out. Life is too short and too full of other opportunities.