The Sixth Sense (1999) – IMDb

The Sixth Sense: Directed by M. Night Shyamalan. With Bruce Willis, Haley Joel Osment, Toni Collette, Olivia Williams. After being shot by a resentful former patient whom he failed to help, a Philadelphia child psychologist seeks redemption by treating a young boy with a disturbing secret.

https://www.imdb.com/title/tt0167404/