I believe in very few "rules" and directives. If whatever I'm already doing isn't working (and I had >15 years of that craziness), I try something else. If that works, I keep it in my pocket for the next time and share it with others.
Here's one example of what works for me. If I have a strong temptation to take an intentional look at someone, or if they come back into my mind later on, I daven for them. For me, it works every time, especially when it really hurts inside. It usually takes one or two doses of prayer and their image completely loses its power over me.