Train yourself to be silent or speak only good things. It means do not talk too much about bad thing whether it is right or wrong. If it is not good, it is possible not to talk about it. Because talking or criticizing negatively would pull down and dim your mind.
Doing good deeds with true mind and sacrifice physically and mentally will lead to perfect good deeds. However, some who do good deeds with their own ego and let the impurities or Kiles dominate their own mind, when something affects their own individuality, this will diminish the quality of the perfect good deeds.