Cognitive-behavioral therapy (CBT) is a type of therapy that focuses on changing negative thought patterns and behaviors. If you're struggling to deal with the discovery that your husband is on dating sites, speaking with a licensed therapist who specializes in cognitive-behavioral therapy can help you work through your emotions and develop coping strategies.