When our boys have bad dreams, we comfort them and pray with them, but speaking scripture over them is the most effective thing we can do. As parents, we want our children to (1) know that God is with them (Heb 13:5), (2) run to God when they wake up and are afraid (Deut 31:6) and, (3) think on what is true (Phil 4:8) by hiding the Word in their hearts (Psalm 119:11).
We keep these scriptures saved on our phones to read over our boys when they have bad dreams at night:
In peace I will both lie down and sleep;
for you alone, O LORD, make me dwell in safety.
The Lord is my shepherd; I shall not want. He makes me lie down in green pastures. He leads me beside still waters. He restores my soul. He leads me in paths of righteousness for his name’s sake. Even though I walk through the valley of the shadow of death, I will fear no evil, for you are with me; your rod and your staff, they comfort me. You prepare a table before me in the presence of my enemies; you anoint my head with oil; my cup overflows. Surely goodness and mercy shall follow me all the days of my life, and I shall dwell in the house of the Lord forever.
My son, do not lose sight of these— keep sound wisdom and discretion,
and they will be life for your soul and adornment for your neck.
Then you will walk on your way securely, and your foot will not stumble.
If you lie down, you will not be afraid; when you lie down, your sleep will be sweet.
Do not be afraid of sudden terror or of the ruin of the wicked, when it comes,
for the Lord will be your confidence and will keep your foot from being caught.
For I, the Lord your God, hold your right hand; it is I who say to you, “Fear not, I am the one who helps you.”
I have said these things to you, that in me you may have peace. In the world you will have tribulation. But take heart; I have overcome the world.”
Rejoice in the Lord always; again I will say, rejoice. Let your reasonableness be known to everyone. The Lord is at hand; do not be anxious about anything, but in everything by prayer and supplication with thanksgiving let your requests be made known to God. And the peace of God, which surpasses all understanding, will guard your hearts and your minds in Christ Jesus.
Finally, brothers, whatever is true, whatever is honorable, whatever is just, whatever is pure, whatever is lovely, whatever is commendable, if there is any excellence, if there is anything worthy of praise, think about these things. What you have learned and received and heard and seen in me—practice these things, and the God of peace will be with you.
Be strong and courageous. Do not fear or be in dread of them, for it is the LORD your God who goes with you. He will not leave you or forsake you.