Here are the hard-earned emotional and tactical lessons that helped me navigate a struggling franchise, rebuild my mindset and become a more resilient business owner.