If you were faced with a tight deadline and the code you wrote had a critical bug, what steps would you take to resolve the issue?

Situational