1. Use shortcut key: PS Undo shortcut key is CTRL+Z.
2. Use the history panel: Select "Window-History" to open the history panel. All the operation steps in ps are in the history panel, and you can click the corresponding steps to cancel.
3. Use the edit menu: You can also find relevant steps under the edit menu, such as recovery, forward and backward.