An eraser is a tool made from rubber that is used to get rid of marks made from a pencil , or some types of pen . An eraser ( US ) or rubber ( UK ) is an article of stationery that is used for rubbing out pencil and also for pen mistakes .