In Adobe Photoshop, undoing and redoing actions is quite straightforward and can be accomplished using both keyboard shortcuts and menu options. To undo an action, you can simply press Control and Z on Windows or Command and Z on macOS. This will revert the last action you performed. If you want to continue undoing previous actions, you can repeatedly press the same shortcut or use the History panel to navigate through earlier states of your document.
If you decide you would like to redo an action after undoing it, you can press Shift, Control, and Z on Windows or Shift, Command, and Z on macOS. Alternatively, you can also find the undo and redo options in the Edit menu at the top of the application window. For more information about managing actions and the History panel, checking the help documentation available on the Adobe website may also be beneficial.