I have already posted this in a different thread but I think the same response suits here also.
Please read the following carefully. This is a theoretical answer.
Lust is a defilement of the mind which has a powerful magnetic potential to deviate one from the path. Most people including myself are affected by this. Im also trying to find a way out. So far this is most of what I know.
There are 2 types of meditations recommended by the Buddha to 'dissolve and neutralise' lust.
1) Meditation / Reflections on Repulsiveness (Patikulamanasikara) - This is the meditation where the mind focuses on the different parts / impurities within the body. Here is the Wikipedia article if you are interested in reading about it http://en.wikipedia.org/wiki/Asubha
and around the end of the webpage there are references which should contain more information.
2) Cemetery Contemplations (Marananussati) - also known as 'Recollection of Death'. This is the second type of meditation. Here is the link from Dhamma Wiki http://www.dhammawiki.com/index.php?title=Marananussati
The two types of meditation are known as 'Meditation on the Foul' (Asubha Bhavana).
It is recommended that one practices Mindfulness meditation prior to engaging in the 2 practices mentioned above so that the reflections on the foul can be done with maximum possible mindfulness.
Also Ajahn Chah (as well as many other Buddhist monks who taught meditation) had suggested that when such feelings arise in oneself, try not to forcefully eliminate those thoughts, but instead just observe the mind. Observe, observe and observe instead of acting upon this. This is because all thoughts that arise in our mind are temporary and it should be 'let go of' with mindfulness rather than forceful elimination. If one relies on elimination then the feelings of lust will bounce back and arise when one's elimination mechanisms (defenses) are down.
Ajahn Chah also mentioned that the defilements in one's mind (which includes lust) is like a raging untamed tiger. Use the 'cage of mindfulness' to trap the tiger first. Second, stop feeding the tiger. Then the tiger will become weaker and weaker and eventually die. Likewise the practice and its results are gradual. Use mindfulness to be aware of the lust that arise in your mind. Next stop feeding this and slowly let go of this. Observe the mind.
There is also another useful aspect of Buddhanussati (Recollection on the qualities of Buddha). I am not going to explain all of this type of meditation as it is not entirely relevant to the discussion. The Buddhanussati is usually incorporated as a form of meditation but in addition to this, one can also also reflect on the qualities of the Buddha in day-to-day life. Whenever defilements arise in our minds we can always use the Buddhanussati to remind ourselves the state of our defilement and appreciate how the Buddha was free from that. We all know that the Buddha was free from defilements (including lust). Whenever I have feelings of lust I try to think like this - 'I accept that I have lust, I am affected by it, but the Buddha was free from that'. It is an acceptance that I still have to travel The Path yet there is someone who I can look up to who is the Buddha who had traveled The Path.
Remember that all these Enlightened beings which we admire today, at one point in there lives (or previous lives) they were nothing more than what we are now. They managed to escape from their defilements because they put the hard work into traveling The Path. If it was possible for them, then it is possible for us too, provided we put that same (or bigger) effort into traveling The 8-Fold Path. Its just an encouraging thought that we too can overcome our lust like they did.
These are just a few techniques which I am planning to use. Some may need to use all the techniques while others may overcome lust with just one method.
For example asthma is a disease of the airway. There are many medications available to treat the asthma. Asthma also comes in various forms from mild to moderate to severe. Some may relieve their asthma with just one drug, but some may need several different drugs to keep the asthma under control. Unfortunately there could be a few who's asthma wont be controlled despite even getting treated with all the drugs. This is the same with lust. Our lusts comes in different shapes and sizes. Some are more affected by it than others. Being mindful of the present moment may suffice for some, while there can also be people who will still find it difficult to keep lust under control despite practicing all the different mechanisms to control it. We should not be discouraged, we should all try for the best as practice can take time to bear results like a sapling growing into a massive tree. It all requires time, patience and endurance.
'Buddhistboy' is my username, even though I want to make it perfectly clear that I am not a boy. I am an adult.