Mindfulness

Mindfulness is about learning to pay attention to the present moment, without judgment. 

It can be used specifically with negative thinking, by learning to notice negative thoughts without worrying about them, without trying to suppress them, and without judging them. 

Once you learn to do this you can often distance yourself  from your own negative thoughts and simply let them go.