All of Illustrator’s tools work on the active selection, so before you can erase anything, you have to choose the parts of the image to erase. If you’ve created masks on your image, this will be easier for erasing parts. Click on the selection tool in the top-left of the tool panel, and then select the vectors you want to work with.