Practice observing your thoughts, rather than reacting automatically to them. Think of your thoughts as clouds floating by. Look at which draw you in and which make you want to run away. Is there a way you can untangle yourself and just observe your thoughts, rather than reacting?