A millionaire trader once said...

Control your ego when you're winning.

Master your mind when you're losing.

Do this, and you'll succeed.