Pregunta de entrevista de Liberty Mutual Insurance

How do you go about fixing code when something is wrong?