How does one deal with hearing voices inside one's head?

Talk to a pro. Sometimes, people hear the voices of loved ones when they are under a lot of emotional stress or in other situations, for example, thinking you hear the voice of a recently deceased loved one. Other times, voices can be "telling" you to do things or that you are worthless, etc. Either way, a skilled therapist or psychiatrist can probably help you a lot!