Know what you stand for. Know what you believe is important. Stick up for your principles – even if others cast doubts. Obviously you need to be mentally flexible enough to spot if your instincts were wrong and a change of course is necessary. But this should come by having your mental model of what is correct and only changing it if you can build a new model with new information.