Ego is a combination of:
Who you think you are
Who you think you want to be
Who you think other people think you are
Who you think other people want you to be
Who other people actually think you are
Who you actually are
These ingredients are constantly in play. The more we are conscious of them, the more we can learn to influence them and skillfully apply the lessons of each.