How to successfully fail

Failure comes in many shapes and sizes, so how do you embrace the setbacks?