For me it came with experiencing losses and just changing how I mentally perceive things. I'd just remind myself that shorterm results don't matter and would look at the big picture. If your bet losses or you lose over the weekend there is nothing you can do about it so why let it worry you? Got to keep looking forward.