Have the audacity to admit to those you opposed or worked hard against, ‘ I am sorry, I made a mistake’, when results go against your expectations.
When results prove those you opposed right and prove you wrong, apologizing is the right thing to do, after all no one is infallible. Admitting that you are wrong earns you forgiveness and wins you some friends who may prove very valuable in future.