Ego states and how do they affect you?

Ego states and how do they affect you?