I don't know about your situation, exactly. I was abused in bed. Going to bed can give flashbacks. It sounds as though you may have a panic attack. If so it will help just to talk it through. Just the act of lying down in bed puts me on a little trip. I'm taking generic Ambien to sleep now. It is habit forming.

Puff