How can you undo one or more changes just made to an image?
Choose File > Undo
Click a state in the history panel
Press Cmd/Ctrl+U
Use the keyboard shortcut Cmd/Ctrl+Z