There are several ways to zoom in on Photoshop. You can use the Zoom tool, your mouse scroll wheel, or the zoom percentage box.
It's pretty simple to undo in Photoshop, usually only requiring a few clicks. However, depending on the version of Photoshop, the steps can vary.