how to undo an action

i am a new user trying to create an image but cant undo my errors

Press CTRL+z to undo