[James 4:7] Resist the enemy & he will flee from you.
[2 Thessalonians 3:3] But the Lord is faithful, who shall stablish you, and keep you from evil.
If you are born again, the enemy (the ghosts) cannot have access to you. You must be born again [John 3:3] Jesus answered and said unto him, Verily, verily, I say unto thee, Except a man be born again, he cannot see the kingdom of God.
If you are curious, you will feed them & invite their presence. Keep your eyes on Jesus & they won't have any fuel to stay.
Be sure you don't open the door through Ouji boards, seances, or fortune tellers. Repent if you have already opened those doors.
Quote scripture out loud. Fight with God's word.