If you are trying to erase a background, but the eraser tool in Photoshop is not working, it means a portion of your picture is selected.