Erasing objects in AutoCAD is pretty simple and straight forward. You can click Erase tools from ribbon tools and select the object you wish to erase. Press [Enter or Spacebar] to confirm.
You can also access delete function by key in E or Erase in command line.
Pressing [Delete] key also activate Erase tool.
You can select the object first then click Erase tool or otherwise.