There are plenty of ways to mess up as a leader. But there's really only one way to fix that, and that's admit it, move on, and learn from it.
Dan McCarthy has an insightful post on mistakes leaders make. I mean, hey, they're all true.
In the technology biz, there is one other I'd add to the list: Decide to take your IP to China to have a company there produce the product. Just don't do it.