You may not be able
Many kids are never able to describe what a nightmare was about and mostly its not as simple as a child saying I am afraid of this and you fix it and move on.
Most dreams and nightmares
are not that simple. Provide them comfort and calm and reassure them that they are safe. My daughter felt better when i showed her our locks and alarm system and us down the hall for instance.