Where stray or personal thoughts have intruded, you may delete them.
They may either be speaking as if there is some literal form of UI in this persons head allowing them to delete intrusive thoughts, or speaking on how one may try to "delete" negative thoughts when they become intrusive.