How to end the downward spiral of negative thoughts