You do not inform them that the nightmares that frightened them so badly are not real, because children believe in magic. You merely reassure them that they are safe now. Then you train them to recognize the difference between sleeping and waking, so they will understand they need not be afraid of dreams. And so when bad dreams come, they will themselves call on the light to dispel them.