It is tough, my encouragement is to take your mind from this world, and to look towards heavenly things.
Perhaps take a moment to read the book of Colossians, 1 John.
If you can just get your mindset changed to realize that women are a creation of God, and that men are a creation of God you may look at them differently. As I have had struggles in the same manner, sometimes I still fail but always remember that any sexual sin committed is the only sin that apparently damages the body according to Paul.
God bless you, and may you find strength in the Lord Jesus Christ who can help overcome, in faith and abiding in him, and call out and let the Father in heaven know what is going on with you because in faith of our Lord Jesus Christ, we have connection with our Father through prayer, you can ask the Father to help you by the holy spirit and the spirit of Christ with-in you.