I have been dealing with evil spirits and I have found that the best way to keep them away is to have christian mirth and joy.
Evil spirits are good at trickery, and for that to bounce off of us we need to have a positive mindset. And in order to not to have a shallowly positive mindset, we need that christian joy that is serious and doesn't mean a flight from the truth.
For example, sometimes when I am weak at something I have sometimes heard a weird kind of laughter. I was never able to find the source of that laughter, it doesn't sound like human laughter. It seems wicked, cynical and evil. It is pretty hard for me to stay composed and not get into all kinds of bad thinking. I always feel like this laughter invalidates all of me and that I am not a real child of God. But this must be resisted. A child of God does not need to fear the devil. It's frustrating that we can't attack the devil and make him pay for his manipulations, but I guess that would not be good for us too as we have to be harmless people as christians. So we must practice humility combined with some shrewdness. From humility I know I must simply walk the christian walk even when it's difficult, without complaining, and from shrewdness I know that the devil is only a big faker who hides his real self that knows that the devil is doomed and cannot escape his fate.
But check yourself whether you think too much of that kind of thing. It's not good to be too interested in it. Never forget about living your life. It has a value, even everyday life that seems so mundane to many, has its sacredness. God will help you see it. Every day is blessed.