I may get hate for this, but

How do you/should one "put on blinders" as a law student?

Many of us have probably heard that law school can be toxic. Perhaps elite/prestigious law schools tend to be more toxic than other law schools, but even less elite/prestigious law schools probably tend to have their fair share of toxic students.

One piece of advice I've heard about how not to be (too) negatively affected by this toxicity is to ignore it, avoid certain toxic/suspicious people themselves, or to (in a nice-sounding phrase) "put on blinders," kind of like how a handler of a horse might put blinders on a horse to prevent him/her from getting spooked.

My question is (perhaps it's a dumb question because the answer is obvious...): How do you do this? How do you ignore/avoid/put on blinders?

Is it as simple as not talking to, steering away from, people whose motives seem illicit? Or are there tricks/strategies to not letting the toxicity get to you that aren't so obvious?