Unexpected expenses can ruin a budget.