Read the Bible, stay close to God. Tell the devil the truth: that he has no real power over you. The devil will try again and again, but he knows that in the end he is powerless... he is no match for your God, for the name of Jesus, for love....
and talk to God, even if he feels far away, he is likely to be way closer than feels
"Lord, even the demons submit to us in your name."
He replied, "I saw Satan fall like lightning from heaven. I have given you authority to trample on snakes and scorpions and to overcome all the power of the enemy; nothing will harm you. However, do not rejoice that the spirits submit to you, but rejoice that your names are written in heaven." "
Luke 10:17-20
Submit yourselves, then, to God. Resist the devil, and he will flee from you. Come near to God and he will come near to you. Wash your hands, you sinners, and purify your hearts, you double-minded. Grieve, mourn and wail. Change your laughter to mourning and your joy to gloom. Humble yourselves before the Lord, and he will lift you up. "
James 4:6-10