Wear a rubber band on your wrist, and whenever you think negatively, just snap the rubber band. You will feel the pain, and you will train your mind not to think that way anymore. It is a great method to remind yourself with every snap that you replace a negative thought with something positive.