I'm sorry to hear that this is happening to you. I know when I get hallucinations I get really scared and lose track of what is around me.
One thing that I am working on and has been helping has been trying different grounding techniques. The thing that I have had some success with is, when I notice that I am hallucinating, verbally out loud saying "I am noticing that I am hallucinating". I give myself some power back by verbalizing that I have recognised what is going on.
I look for actual evidence around me to prove that what I am seeing is not real and that my brain has created this image because it is processing something that I am unaware off.
I get hallucinations and PTSD flashbacks from when I was dating my abuser and things were violent. When I notice that this is happening, I look around the room to try to remind myself of where I am and that I am safe. I notice different pictures on the wall that were not there. I notice my cat laying at the end of the bed who I did not have when I knew my abuser.
I hope that this provides some help of some sort or some ideas. That is what has worked for me in the past. I don't know if it will help. But please know, people care. You are going to get through this.
Just the fact that you have recognised the strategy of seeking medical help is a win. You have flagged something that you have control over in this situation which is seeking out that resource.