Having backups is always a good idea. Incremental saves for the win!
You can also hit Ctrl Z when you see things go astray.
Often it’s easier to undo, fix the error(s) and then try again.
This can be easier to fix before than trying to fix the issue after – if you know what I mean.