How to be prepared for the unexpected.