The fear of the dead is something I can relate to very much, the first time I saw a dead person I couldn't sleep for nights but that was when I was still a child. I guess with age I matured. My advice is that you should change your mindset, believe that the dead can't harm you in any way. That way you'll see it was your mind playing games with you all these while
Cheers