The following is a prayer I wrote to be prayed at the start of the day and during any trial or temptation of the devil that threatens to pull you into sin or vice. I hope it's a blessing to you.
When your servant Michael was contending with the devil over the body of Moses, He did not speak blasphemy against the devil, but said, "The Lord Rebuke you." And you yourself tell us that if we resist the devil, he flees from us. Father, you are my fortress and my refuge. I turn to you now in my trouble, that you would rebuke the devil and strengthen me against his temptations that he might flee. I trust in you, O Lord, above all things. I ask this of you in the name of Jesus Christ, your son, my Lord, who lives and reigns with you and the Holy Spirit, one God, now and forever. Amen.