Watch Flatliners (1990) online.
Synopsis: Medical students begin to explore the realm of near death experiences, hoping for insights. Each has their heart stopped and is revived. They begin having flashes of walking nightmares from their childhood, reflecting sins they committed or had committed against them. The experiences continue to intensify, and they begin to be physically beaten by their visions as they try and go deeper into the death experience to find a cure.
Director: Joel Schumacher
Writer: Peter Filardi
Stars: Kiefer Sutherland, Kevin Bacon, Julia Roberts
Sources: IMDB, Wikipedia