LevLane interview question

How do you approach solving a bug/error in your code?