Training the mind.
Many years ago as a teen I went through a traumatic time. I was eventually 'rescued' and put through therapy. One thing I was taught and I have practiced it ever since was my safe place and my boxes.
It is a form of meditation and it is very personal. At least mine is. It needs practice but after a very short time the practice is to come out of it.
I have a mindplace. I won't tell you mine as it is private.
It might be a room, a planet, a cave, a wall unit, a palace - a place. I have in mine some of my favourite objects. When I was being taught I had my teddy bear there. She still is. I have a very large set of boxes of different sizes. Some are lovely and well made but that all fit very well together and slide open when I wish.
I visit my place and if I have trouble thoughts I put them into a box. Sometimes I can sort through the box and put some thoughts together into a bigger box and then put the lid on them all. Sometimes it is a single thought that is horrible and I can't cope with it, so I put it into a special box and I may put a lock on it.
I have nice thoughts too and I tend to put them on shelves in the open so that I can see them.
I visit when I wish and I rest in my place.
If I'm having a surgical procedure or something that is going to hurt me, I go to my place and settle down and look at my nice things.
When I have horrible thoughts I go there and put them away. I know they are there but they have been dealt with and they are available when I need them, but I don't need them so ...
It takes practice but it has been good for me.