Time to think carefully about what triggers our old thought pattern...think carefully and then make plans for change.
We need to do our parts and leave the incredible tasks to God....God does not force us to change....we need to take the responsibility back and do something about our old and bad habits. For example, if you are into a habit of stealing stuffs, time for you to STOP. If you are into watching sexual movie which can stir up your desires for same sex, then you need to STOP. Start throwing those sexual movies out of the house, stop the sexual movie subscription online, etc. Those are crucial steps for your freedom and truly live the life God has for you.
Think what triggers your emotion too - when all of a sudden, you thought of your ex partners, or any sexual scenes...you shall know that the enemy is trying to attack your mind, trigger your emotion, drawing you back to your old life style. Right there - You need to PRAY TO GOD for help immediately! Don't wait for a second and let those old thoughts penetrate into your mind again. Don't allow! STOP IT by praying to God for help.
God will come and aide you whenever you call out to Him for help.
I experienced some crazy sexual scenes in my dream reminding me of my past...my body got all sweat when I woke up...then I PRAYED to God immediately and asked God to cleanse my heart and my mind for the day. I have experienced it and you are not alone!
Ask and pray to God for wisdom - how to deal with those triggers, get to know the triggers is very important so that you can take careful cautions when it comes to strike you again. Always ask God to help you...Always ask for help!
Don't be discouraged along the way, it might seem so hard to you getting rid of your weaknesses.....God is there for you and for me. He is always there and He is your faithful God who loves you so dearly.