I wake up as soon as I start having a nightmare. My brain just responds to it fast, and now I don't have nightmares anymore.