Hey there,
I am just going to add to Maz's comments
Cognitive-behavioral therapy is based on the idea that our thoughts cause our feelings and behaviors, not external things, like people, situations, and events. The benefit of this fact is that we can change the way we think to feel / act better even if the situation does not change.
Do take a look at the links posted by Maz.
Take care and keep on talking with all of us.
Kitt