Cognitive behavioral therapy is effective in helping people struggling with these situations. It is based on the idea that our thoughts, feelings, and actions are all connected, and that dysfunctional patterns of behavior are often caused by unhealthy, negative thought patterns. These negative thought patterns, in turn, can have a massive impact on how we feel as well as how we behave.