Ego seeks attention towards your identity. Ego needs recognition. Ego needs to feel important. All this is the food of the ego.
When the ego is fed, it has the potential to develop pride. This is natural. It needs an astute spiritualist to ignore the tempting food which the ego receives.
Hence, another alternative can be sought. Try starving your ego. Go into a shell. Don't seek importance.
Starving your ego does not mean to cut off from your activities, from the fun and the bliss. It only means self-importance loses meaning.
Starve your ego!