How good are LLMs at fixing their mistakes?