In a situation where a critical defect is found just before release, what steps would you take?

Situational