Make it a point to never complain unless you are also offering solutions to fix your complaint. Complaining or venting can make you feel better at the time, but it brings negativity to those around you.
As Jon Gordon states in The Power of a Positive Team, “Complaining is like throwing up. Afterward you feel better, but then the rest of your team is sick. It’s toxic.”
Imagine if everyone around you became a problem solver instead of a problem creator (which is usually what happens when you complain). How amazing would that be? How far could you go together as a team if everyone was positively contributing, offering input on how to improve deficiencies, and encouraging others to do the same?