Restart on failure. It's faster than correction
Once a conversation goes off-track, fixing all the mistakes is often more work than starting over.
Try once, maybe twice. If it doesn't work well, start again.
Break the task into smaller chunks - that can help.