Vanity and pride are what most of us tend to think of when we think of ego, but ego is much more than an overinflated sense of self. It can also turn up in feelings of inferiority or self-hatred because ego is any image you have of yourself that gives you a sense of identity—and that identity derives from the things you tell yourself and the things other people have been saying about you that you've decided to accept as truth.
One way to think about ego is as a protective heavy shell, such as the kind some animals have, like a big beetle. This protective shell works like armor to cut you off from other people and the outside world...
Observe Your Mind
The first foundational step is to become aware of what kind of thoughts you habitually think, especially negative thoughts: irritation, anger, impatience and perhaps even some kind of sadness. You might, for example, complain about yourself, how useless you are. If you start to hear these repetitive thoughts, then you will suddenly realize, "I've been thinking these same thoughts again and again almost every day without really knowing it."
Distinguish Between the Voice of Ego and the Actual Situation
Awareness is the beginning of becoming free of the ego because then you realize that your thoughts—and the negative emotions they produce—are dysfunctional and unnecessary. For example, let's go back to the supermarket line...You are irritated by what your mind is telling you about the situation—which is that all this waiting is bad and a waste of your time. But you could actually be enjoying that moment if you say, "This is simply what is. There's nothing I can do about it, so why not breathe in deeply and look around and enjoy the world around me?"
Lay Down Your Weapons
...A simple example: You wake up in the morning, and it's raining and gray, and the mind says, "What a miserable day,"... You likely feel some emotion: dread, disappointment, unhappiness.
A new thought...you look again out the window and just see the sky. It's gray. There's some sunlight filtering through the sky. There are, perhaps, raindrops falling. It's not actually miserable at all. It has a certain beauty. Then suddenly...you're free to enjoy what, previously, you had rejected.
Eckhart Tolle
******
“The primary cause of unhappiness is never the situation but your thoughts about it.”
Eckhart Tolle
****
"I will choose my thoughts wisely"