A contingency plan is a plan devised for a specific situation when things could go wrong. Contingency plans are often devised by those who want to be prepared for anything that could happen.
During times of crisis, contingency plans are often developed to explore and prepare for any eventuality.