Dear Ahron,
I like the advice I saw recently from Pintele Yid about this. He writes:
I was walking home several weeks ago from a Shabbos simcha, when as a result of having to pick up my head to look at the color of the street light, I saw something that that I didn't want to see and it threw me for a loop. I saw that I was losing the battle so "in my mind", I invited myself to follow the "frum" lady home. When she took off her high heels, as a result of those treifa heels, I saw the most ugly bruises on the heels of her feet and I imagined that her feet stunk worse then the dorm rooms in yeshiva. I also try to imagine her as she was a walking skeleton. I think this is the deeper meaning of that Gemorah where if you are at the mercy of something you saw, then take it in and modify it to where you are totally disgusted by it. The Gemorah uses more "base" turnoffs and you can imagine the levels that work for you. Isha Chavis Melei'ah Tzoah...
This can help the automatic trigger for the first few seconds... Then it passes...
You know, lust is interesting. We see something and feel we NEED it. If we don't get it, we feel a taste of "death". It's so hard to turn away sometimes.
But 5 minutes later, not a trace of the desire remains. We can't understand what was so hard...
So if we can just realize how our brains are TRICKING us when we see something, it will be easier to turn away.