In Ephesians 6, Paul said you need to put on your spiritual armor:
Put on the full armor of God so that you can take your stand against the devil’s schemes. For our struggle is not against flesh and blood, but against the rulers, against the authorities, against the powers of this dark world and against the spiritual forces of evil in the heavenly realms. Therefore put on the full armor of God, so that when the day of evil comes, you may be able to stand your ground, and after you have done everything, to stand. Stand firm then, with the belt of truth buckled around your waist, with the breastplate of righteousness in place, and with your feet fitted with the readiness that comes from the gospel of peace. In addition to all this, take up the shield of faith, with which you can extinguish all the flaming arrows of the evil one. Take the helmet of salvation and the sword of the Spirit, which is the word of God. And pray in the Spirit on all occasions with all kinds of prayers and requests. With this in mind, be alert and always keep on praying for all the saints. Ephesians 6:11-18
So if God could just warn us and say, “Okay, my dear children, you are going to be tested today by satan,” and give us the exact time and the exact test and the answer to the lie, we would always have victory. But in one sense, God has done this. Stay alert at all times. Expect the roaring lion to be after you today and every day. Soldiers dress for battle every day. Keep your eyes fixed on God at all times so you are able to fight and resist the devil’s lies and your own fleshly desires and temptations. When you sing songs and praise God, satan will flee, because he cannot stand to hear a beautiful song toward God. Praise sends satan and his demons fleeing.