What to do when an error message appears