There are a few ways to change the eraser in Photoshop to a square. One way is to use the Eraser tool on the left side of the screen. Another way is to use the Edit menu and choose Erase Square.