Focus on the positive
However easy it may be to criticise yourself and others, this is not the healthy thing to do, so much so that US researchers believe cheering up in general could add years to your life.
As soon as a negative thought comes to the surface, counter it with a positive thought and remain in control. If you're going through a tough time, look for distractions away from the problem.