HOW TO STAY RESILIENT? A FRAMEWORK