failure sucks royally
but failure is just one step, one ladder rung, one data point or moment or episode in your epic and heroic journey
(the journey devoid of failure is not epic or heroic, it is boring and safe and risk-less, vanilla pudding)
and if your failure was a failure to risk big and fail big, then no worries, that's okay, there's always tomorrow
--
Therefore: cope with failure by observing it, allow the cold uneasy wind of it to wash over you, let it show you things about yourself, but also perhaps give it the middle finger and reject whatever bullshit it is trying to tell you about your identity—see it, accept it, and then move forward and try again