What Mistakes Are: Barriers or Opportunities

We make mistakes every day. But how we consider them? Do you treat the ‘mistakes’ as barriers to achieve your objectives or the ‘mistakes’ helps you find a better way to the objectives?