A Nightmare on Elm Street 3: Dream Warriors

A psychiatrist, familiar with the knife-wielding dream demon Freddy Krueger, helps teens at a mental hospital battle the killer who is invading their dreams.
If you think you'll get out alive, you must be dreaming.