It's a YA novel about a boy/girl that can see ghost and is trying to help them pass on. The only way they can pass on is by confronting their death. If they don't they will experience it over and over until they turn into monsters that eat the souls trying to pass on.
(Its not the everlost series)
Thank you in advance!