The only way to beat the flesh is to align your will with God’s. It is a matter of heart. Man is going to fall, that is why Jesus died on the cross. You must convince yourself that you have repented and your will must be toward resisting the flesh. The will is your mind. It is what you decide, regardless of what the flesh wants. To beat the flesh you must make up your mind you are going to do God’s will.
“Romans 7:23 But I see another law in my members, warring against the law of my mind, and bringing me into captivity to the law of sin which is in my members.”
The only way to win this war more times than not is to align your will with God’s and firmly convince yourself this is what you are going to do. I am convinced that God will judge the world but we are going to judge ourselves as well. The only way to convince ourself that we have repented and are a true Christian is to align our mind and thus our will with God’s.
Romans 8:7,8 “Because the carnal mind is enmity against God: for it is not subject to the law of God, neither indeed can be. So then they that are in the flesh cannot please God.”
Then the matter of the heart: Ecclesiastes 10:2 “A wise man’s heart is at his right hand, but a fool’s heart is at his left”.
Lock your heart after you invite Jesus in and guard it with everything you have. This is God’s will and pray for Jesus to stay in your heart as He will never leave you.
Deuteronomy 4:31 “(For the Lord thy God is a merciful God) he will not forsake thee, neither destroy thee, nor forget the covenent of thy fathers which he sware unto them.”
If you are just learning this and going through a correction please see the page on correction: http://www.godcontrolseverything.com/correction/ and the page on whether salvation can be lost, which it cannot: http://www.godcontrolseverything.com/salvation-it-cannot-be-lost/
Fear God and God alone with a reverence and acknowledge that He controls everything. Know in your heart He loves you and if He brings things into your life it is for your good and to bring you to Him. Do not fear man or be intimidated. Turn to God in prayer and He will help you.
God Bless You.