Like the bicep and tricep, two opposite forces must be mastered.
Putting the ego in
Focus, get lost in the details. Winning is winning. Give a damn. Be genuine. Know thyself. Meditate. Pour yourself in, and take feedback to heart. Make yourself vulnerable. Get closer to truth. Breathe deep and own it.
Taking the ego out
Be able to see the long term, the big picture. Be outcome independent. Detach from short term failures and wins, and keep the eyes on the prize. Fail and get over it. Miss a shot, and stay late after practice. Fall down? Get up.