Don't react much
I read somewhere that sometimes it is better to react at someone or something at some point when it is really bothering you so much. Although I also like that idea, but often time I prefer not to react, but rather be an observer, and then change the way I interact with that or how I respond to that matter, not in I sudden and sharp way, but rather in a subtle way.
The reason is that by observing more, we have the upper hand since people might not expect our move. and then with the subtle change, they might not notice much of our changes on how we view the relationship, and that might not attract any kind of direct confrontation.
With that kind of approach as well, we will not spend most of our energy fighting those kinds of things like direct confrontation and such, and also the overthinking of the feeling of reacting to how things are thrown at us. We can just take it easily, and then turn our energy to how to discreetly disconnect to that kind of toxic environment. It won't affect us much. Always observe, and don't reacting too much, do it discreetly.