My advice is to first work out if your having hallucinations or not. You can tell if it is a hallucination if it sounds like the sound is coming from your surroundings rather than your head. It can sound like a real noise. I have hallucinated my mother calling my name from accross the room and ask her what only to find she never said anything. Ive even heard just strange repetitive noises but i only get these when very tired and very stressed. Sometimes, you can hear very loud noises, voices, or music in your head and these are normal, though it can be pretty distressing if its constant and/or new to you. But if these sounds sound more like its outside, like its next to you, behind you or from a different room, then its something you may want to speak to a doctor about. But keep in mind that even a perfectly mentally healthy individual can have hallucinations when under extreme stress or for other reasons and doesnt mean the person is developing anything like schizophrenia so try not to panic.
Someone recently suggestly a phenomenon to me known as hypnogogia that happens when an individual is tired or exhausted, espessially if someone sleep deprived and you said the sounds are things people have said earlier in the day and it could hypnogic hallucinations.