The Office
John Krasinski as Jim Halpert, Rainn WIlson as Dwight Schrute in NBC's 'The Office', "Parking Episode" April 2008.  Photograph by Chris Haston—NBC/NBCU Photo Bank via Getty Images

How to Rise Above Your Toxic Co-Workers

This article originally appeared on Entrepreneur.

Toxic co-workers can be team and performance killers. Whether or not they succeed is up to you.

We call these people toxic for a reason. Their negativity spreads across teams like cancer. Their presence often feels out of anyone’s control other than the employer’s. They can do what they want, say what they want, and nothing can be done. Anger, resentment and chronic frustration are fueled across the team, with everyone giving it life, energy and attention.

This makes it easy to create the excuse that a toxic co-worker is holding you back. You can’t be as productive as you want because they are holding you up. You’d be much happier at work if they would just stop gossiping.

You start to give this story life by collecting examples of their toxicity. You’re getting less and less done because your focus is suddenly on the wrong thing.

The thing is it is possible to excel, thrive and succeed in the most toxic of environments.

Who do you want to be regardless of how this person behaves?

Is this behavior so disruptive that you want to bring it to your supervisor’s attention? Is it something you care deeply enough about that you want to address the person directly about your concerns?

If yes, good for you. Go ahead, and tackle the problem directly.

If not, good for you too. You just got yourself unstuck. You had a choice and chose not to let this person bother you. You are no longer trapped. You are no longer a victim of their toxicity.

Before reacting, ask yourself this one question.

Will this response bring me closer to my goals or further away? Sure, you can start texting or messaging a fellow co-worker and complain about how someone is slacking. But does that get you closer to who you want to be or further away?

You can most definitely send an email detailing the way this person slowed down your project. But does that bring you closer to who and how you want to be or further away?

Before you react, line up your instinctive response against who you want to be and see if they line up.

Acknowledge that the only person you have control over is you.

Stop focusing on the other person. What are your goals here? What are you hoping to accomplish? Put the toxic person’s noise in the background of your day. Make working around the obstacles they create non-negotiable for yourself, and figure it out.

You want to be successful. You want to get the job done well. Given that this person is an immoveable object in your day, how are you going to work around them to meet your goals?

Tell your supervisors what you think.

The reason toxic people take up so much time and attention is that their behavior triggers a fear that their negativity will win and the good guys will finish last.

If you want to ensure your success, stop worrying about what your bosses will think of you, and simply tell them what you want them to think.

You don’t have to wait for someone to notice your achievements, and you don’t have to broadcast them either. Instead, show people what you’ve completed, achieved and accomplished. Your efficiency and performance will shine.

More from Entrepreneur:
4 Signs of a Terrible, Toxic Boss
To Avoid Hiring a Toxic Employee, Look for These 6 Qualities (Infographic)
5 Types of Toxic Employees and How to Deal With Them (Infographic)

Suck it up.

Beginning. Middle. End. Anywhere you go in life, there will be trolls, haters, divas and slackers. You’re going to have to decide who you’re going to be in spite of them. You are going to have decide where you allocate your energy and focus. In the words of George Lucas, “Your focus determines your reality.”

Decide what it is you want, and go after it. The only thing standing in your way isn’t your toxic co-worker. It’s you.

All products and services featured are based solely on editorial selection. FORTUNE may receive compensation for some links to products and services on this website.

Quotes delayed at least 15 minutes. Market data provided by Interactive Data. ETF and Mutual Fund data provided by Morningstar, Inc. Dow Jones Terms & Conditions: http://www.djindexes.com/mdsidx/html/tandc/indexestandcs.html. S&P Index data is the property of Chicago Mercantile Exchange Inc. and its licensors. All rights reserved. Terms & Conditions. Powered and implemented by Interactive Data Managed Solutions