People who believe in spirits have created them in their own mind.
If you believe a spirit is communicating with you then it is your own mind that is talking to you. Even though the spirits don't actually exist they are real to you because your mind has created them. The good news is you have the power to vanquish them.
There are quite a few possibilities you have brought them into existence but the mostly likely are:
1. Feeling guilt about something you think you have done wrong or something you actually did that you feel guilt about. Forgiveness is available to all.
Since there are no such things as spirits, then it may be you only imagine guilt about something because you are imaginative, or you actually do feel guilt about something.
For people like you who are superstitious the cure is to confess your guilt to a stranger, preferably a stranger you think has powers such as a priest. They have no power but you have to remember it's all in your head so if you think they have power then they do for you.
So if you have some secret guilt, real or imagined, go to a priest and ask for forgiveness and you will be forgiven and the spirit will no longer have any power and go somewhere else.
2. The next most likely reason is you feel inadequate or unworthy. You can vanquish the spirit by doing a charitable work. Either volunteer to do something good or make a donation that is difficult for you to a charity then you will become healed.
I tell you again, there are no bad spirits in actuality but they are real to you because you have created them and the good news is you have the power to vanquish them. Just do what I said and you will be cured.
Psychic people have no special powers. They know there are people like you and take advantage of them usually for their own benefit but, in a way, they are a kind of psychiatrist to the superstitious and can heal the superstition through the belief of those who believe in the psychic. It's weird but true.
Some day you will be strong enough to realize it's all in your head. Bad spirits can't hurt good people.
Next time you hear or see the spirit tell it you know it has no power and you are going to ignore it and tell it to go away. You have this power. Bad spirits are just mischief makers and actually have no power at all.