By having his patient have a dream and call him when he wakes up. The most prominent part of the dream, or his fear will be the main image the patient will remember which will allow the doctor to conclude on why his patient is having these nightmares.