Make a habit of positively affirming yourself in every situation, so that your mind starts accepting these suggestions. It will become easier for you to dismiss any thought that is not helping you. Keep on feeding your mind with positivity, and the negative thoughts will eventually diminish.