Buddhist question: What spell do you hold when you have nightmares or fears?

When you are awake during the day, you can't concentrate on holding a spell, let alone in your dreams and nightmares!

There is only one sentence "there is no Amitabha in the south". This Buddha name is the curse king. Simple and easy to be wonderful, easy to cultivate Loy's knowledge. Why don't you try it? Is it easier to remember the Buddha's name in the dream or the long and difficult spell?