how to avoid the negative thoughts