If you are struggling at present your temptations will have a door of entrance, and as you know, He wills to close all doors so you can receive much more peace. Therefore, you have to ask Him and be honest with yourself as to why your mind is bombarded and thinking sexual lust?
I know some reasons why as I had to go through this myself for He allowed them come against my mind so I would pinpoint my pain and my sins. When your mind is having no rest from thinking homosexual lust scenarios you are in two minds. You will be delighting in the arousal to your senses, but tormented that you cannot control your thoughts!
These are onsets of spirits, and truthfully you know these thoughts are not your own but you listen to them anyway. I've been through this, and He even allows the spirits to act upset or pretend to be upset "I just can't get away from homosexual this homosexual that, I've had enough!" Then you start feeling bad or angry or guilty or stressed yet still drawn and or wanting to go back to entertain this spirit of lust. But it consumes your day, and you have no peace, and the mental affliction becomes two-fold; it gets you upset guilty fed up with the constant thoughts that you cannot control, and it catches you in the lustful delight at the same time.
When the rubber hits the road it puts you out of The Spirit, out of fellowship with The Spirit of Christ Jesus and into the flesh where it is earthly sensual and demonic (James 3:15).
Sexual idolatry (this is a spirit) is cunning, and it is all connected to lawlessness and what is sin according to 1 John 3:4 lawlessness.
Sexual impurity (this is a spirit) opens you to witchcraft powers, and you wonder why your heart wants to serve Him and walk in His ways but your mind is always thinking sex with the same sex; Homosexuality this homosexuality that. Then you resign yourself to believing you are truly homosexual that there is no hope for change - this is a lie, yes a lie.
Take the grace He understands we are mortal carnal and in pain and earthly and struggle with lust. But it is probable your time to come up a little higher, time to clean the house demolish the strongholds to get your peace back. Yes? No? If no invite Him into here to change your heart and will to come up higher.
Fantasy lust masturbation (these are spirits and they drive you), sexual impurity, sexual idolatry and their spirits alike will hinder your walk and keep you open to demonic attacks from both in the air and in your mind with their voices/scenarios. So know what you are dealing with, as they will not give up without a fight.
Not only this but it gives those higher in rank (principalities in the air) to scheme to set up men/women into your life to try to get you to stumble and struggle and or to stay in fantasy. So this way it keeps them housed and in hope it will ruin your testimony or cause you to walk away from The Kingdom of God altogether.
You know what? They work with these other people and in effect we become their stumbling stone (they may be married or brides of Christ - His property purchased with His blood) for our boundaries are down, and consider we did not even make it clear to them we have renounced our former way of life and have decided to follow Jesus.
Further, also consider, the worship of the creature or the body rather than the creator/idol of body worship. The self-deception or blindness that happens for the lies you are telling yourself. The defiled conscience and this works to silence your conscience and or sear your conscience.
Why is this overall true? Because our boundaries are broken down and this allows the boar and the beast of the field to come in and devour and or the serpent to bite us to spread the poison(Eccl. 10:8; Psalms 80:12-13). In a nutshell we refuse to walk uprightly and in holiness, consciously holding on to sin/ego/vanity/earthly pleasures. Therefore, it becomes earthly sensual and demonic and is plain and simply unrighteousness and or lawlessness and or rebellion and or disobedience to His righteous instructions in living in His Kingdom by His Kingdoms constitution. Recall, He is the King He is the Law He is The Government then He is The Judge and the Jury - Yes! He is The Word, He sets the standard - He is God He is Lord.
He will not let you rest......He loves you too much and He is not about to share your mind or your energy with spirits of darkness that cause you to walk in the flesh and away from Him. He is jealous over you and you know what jealousy is! Also He is NOT going to leave you in your sins and not sanctify you. He sent His Word (Jesus) to heal you from your destructions (Psalm 107:10-22) so in His sovereignty He will let them torment you until you scream out "I don’t want to think sex with him all day I don't want to think sex with her all day."
Therefore we repent, surrender our sin structures that keep our mind filled with homosexual lust, allow Him to demolish the stronghold we have got our self-back in, and take a lesson from it.
Your not a homosexual anymore you are just enjoying homosexual lust no different to food lust. They think food all day, they buy all the cook books and magazines, they plan their next eat, dream their next meal and all they can talk about and take pictures of is food.
Get the revelation you know why you were once homosexual, now you have to see it in the light of what it now is - HOMOSEXUAL LUST a lust of the flesh just like the one in bondage to food - a food lust a lust of their flesh.
Ask Him, its simple - just ask Him "what is fortifying my homosexual lust?" Do not forget the spiritual network has to be addressed AND UPROOTED SOUGHT OUT; but until more light comes to you surrender it all give it over to Him to bring it to exposure and then let Him bring the fleshly lusts and supporting iniquities to death; come into agreement with Him and if you are not willing "Jesus I am willing to be made willing."
And RECALL "if we confess our sin He is just to forgive us our sin and cleanse us from all unrighteousness."
And unrightness is not just the act of talking dirty, flirting, walking around naked or half dressed or letting your tits hang out for everyone to see (this is also another part of your hedge down for an unclean spirit) it is the cleansing of the spirits associated for coming out of agreement with holiness into agreement with darkness/sin/lawlessness.
Yes, its a direct word but sometimes your Father has to speak to you directly and allow things to get your attention because you have turned a deaf ear to Him.
"Some were sick through their sinful ways, and because of their iniquities suffered affliction" (Psalm 107:17)
"He sent His Word, and healed them, and delivered them from their affliction" (Psalm 107:20)
Be blessed and be a blessing, walk on regardless of the obstacles and lies of darkness. I can testify that you will see the light at the end of the tunnel and come to realize the lust of homosexuality as a just a lust of the flesh than that of your identity.
http://deserthope.com/?p=535 has much resources for restoration and healing that you access and buy their material (Janelle Hallman, Desert and Hope)
http://books.noisetrade.com/kathleenmalligan/personal-cleansing-workbook-26 this is a work book so is the following:
www.speakyourhealing101.com
Click like - click share
www.understandingandovercominghomosexuality.com has numerous resources for your restoration and links to many ministries around the world
https://www.facebook.com/departtotheotherside is a face book site to follow for healing restoration and teaching
www.takingbackground.com offers a one on one course to overcome and understand homosexuality and transgender
http://about.me/malligankathleen