Knowing when to get back up from failure and start again is a skill that’s hard-earned but ultimately rewarding.