If you’re using Photoshop and the eraser isn’t working correctly, there are a few things you can do to try and fix the issue. First, make sure that the eraser tool is selected in the toolbar. If it’s not, click on the eraser tool icon and then select the desired eraser mode from the options bar. Next, check the brush size to make sure it’s not set to 0px.
If it is, increase the size and try again. Finally, check the hardness of the brush. If it’s set to 100%, try lowering it to see if that makes a difference.
If none of these things work, there may be something wrong with your Photoshop installation. Try uninstalling and then reinstalling Photoshop to see if that fixes the issue.