We must become purified in consciousness to redirect our thoughts into another direction. It may take days even months for some to refocus that energy because the enemy is so powerful. But what do you expect. If you have fed the enemy for years and years and even lifetimes, then your enemy is extremely powerful, and it is not going to leave without a fight. Remember it is a life you have created, albeit a negative life with improper energies, but it is still a life, and life seeks to live no matter what it takes.
Life has to evolve.
But the good news is evil can never exist without the veil of illusion. It does not exist within our divine world that we are all inheritors of. Evil has to feed off the lowest form of energy to exist. However, divine purity exists beyond the illusion into the spirit world of righteousness. Thereby as the Bible affirms, place your riches in heaven where dust and moth can not corrupt.