Take the voices, imagine them in a room in your mind, then shut the door and lock it. Make it a soundproof door. Even if someone is piping something into your head, it's YOUR head, and you control what it does and does not receive as well as what it chooses to listen to or ignore.