how to control your negative thoughts