R.R. Donnelley Interview Question

How would you try to resolve bad software code within an internal application.