>>344128751
ctrl+Z but you should probably increase the amount of undos you can do in the settings.
If you can't ctrl+z enough that means your allocation for undos is small.

A good rule of thumb is also to save as different filename variants from time to time to mark milestones of work