Using Undo
At any time while you’re working with an image, you can undo your last action by selecting Undo from the Edit menu, or by pressing Ctrl (or Command)+Z. You can also use the Edit menu’s Step Backward command to back-step through your last actions, which are stored in the History palette. For more information about using the History palette, see the section Using the History Palette under Editing Tools.