How Thoughts Affect Mental Health