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