Swanlea School interview question

How would you manage unexpected behaviour?