How to make your heart resilient