May I suggest an alternate way of dealing with this? Seeing an erotic photo of a woman you are interested in, and have real prospects with, is exciting. It should be exciting. But real sex is much better, much more significant that masturbation. So, if you become aroused by such a photo refuse to "take matters into your own hands" and, instead, look forward to the real thing.