An eraser is used for rubbing off pencil or ink marks on paper. It is used to remove unwanted marks on paper.
If the dreamer had traumatic experiences, they might dream of an eraser, which is the brain’s way of saying it wants to erase away bad memories.