If the effect of an unexpected event creates a flaw in the existing plan, the planner must modify
the plan to address this new factor. The plan can be repaired in one of two ways: extending the plan, or retracting some portion of the plan and replanning.