Select the object by choosing the selection tool and clicking inside the object, then choose Delete on the Edit menu or press Ctrl+Delete on your keyboard.