If you are attracted to something, by default, you also desire it. It isn’t possible to cleave these two things into separate categories.
Sexual rumination - the endeavor of fantasizing - is prevented not when this desire - somehow by magic - goes away. The only way a lack of desire itself would be achieved is if you possessed a malfunctioning body. This isn’t God’s purpose and this line of thought falls in with Buddhism, not Christianity.
But, lust is overwritten when this desire is accompanied and surpassed by another desire, which is the desire to love her, either as a wife or, for any other woman on the planet, a beloved sister, whom you would die for. When you look at her, she will always be beautiful, as she was meant to be, because she is knitted in the image of God. Indeed, if she is not beautiful in appearance, as some women are not, it is only because of original sin. When the element is sinfulness is removed, all women are beautiful just as Eve was.
So, the physical beauty of women (or men) can either be a tripwire or an aid for us. It can be an aid in that the physical appearance of her beauty is a symbol - or even a sacramental - that informs us of her inner beauty, as one who bears the image of God and possess a dignity of infinite value. The outward beauty speaks of an inward truth.
This beauty is also a tripwire, because it possesses a means of pleasure by itself, which can be corrupted and used towards selfish ends. When you commit adultery with a woman in your heart, you have offended God in two ways. 1) You are committing idolatry, because you value the woman’s body over the sanctity of marriage, which is a simile of the Trinitarian life of God. 2) You are committing violence, because you seek to take possession of her, even though she possesses an infinite dignity & value, and therefore can never be taken possession of.