The most reliable and lasting solution against bad dreams and nightmares is spiritual growth, not prayer. See prayer against bad dreams as a quick and temporary solution. When it comes to dream attacks and manipulations that persist, prayer attacks them for sure but they'll keep on returning. In most cases, the dreamer will keep falling for the same demonic tricks in their dreams, if they don't grow spiritually. Praying against bad dreams alone isn't enough to grow anyone spiritually. Become intentional about your spiritual growth, see it as a path towards overcoming the most difficult enemy's attacks in your dreams, and that's exactly the result you will get. As you grow spiritually, you'll find yourself becoming more victorious in your dreams; more aggressive towards your enemies in dreams. Instead of being threatened in your dreams, you'll become the threat against dream attackers. You'll break free easily from dream manipulations, and in most cases they won't work on you at all. This is way better than praying for years and years against bad dreams.