The voices are your own thoughts.
So effectively what you are asking is - "How do I deal with my win negative and repetitive thoughts?".
There are different ways. Read Eckhart Tolle's books, or Ruiz's "The Voice of Knowledge".
Or do what I do. Recognize that you can exert power over your thoughts. The voices in my head are all cooperative, friendly and helpful. I trained them to be that way. Like good little dogs.