OK. In Vajrayana, for example, for someone who like to smoke and cannot stop. Normally, they will not ask you to stop immediately, because that is not possible anyway.
So, what is doing is you use your smoking as the path. How should they do it?
FOr example, immediately before you like to smoke, you will feel that smoking is really something pleasant event. This feeling can be extremely strong and look as if it is ABSOLUTELY true that smoking is joy. At that point, there is no way, you can see that smoking is not pleasant. You are like blind to your projection.
So, instead of stopping your smoking. You purposely smoke. But there is a different here. If before, you smoke without awareness. Now, you smoke with full curiosity. Now, you really challenge your previous projection. When you smoke, you really see how your projection change. In the first smoke, or second, or the tenth, probably, your projection of smoking is still true that smoking is pleasant, but when you keep smoking, then probably in the 15th or 16th smoke within the same ciggarate, then you can already start to see how your previous projection start to change. Probably at the end, you projection is completely change to smoking is not pleasant.
THen at that point, you can continue to smoke the second ciggarate, even you are already projecting that smoking is no longer pleasant. You can see that smoking is torturing. You can push yourself beyond the limit here.
This kind of smoking will then teach you something in terms of actual experience in seeing how deceptive it is our projection. You should see that although you really want to smoke, but in reality that projection is very hollow. Why is it hollow? Because from the surface, yes it really say smoking is fun, when you do it, the face of deception or the hollowness starts to reveal.
That event, then should make your understand what it means by not real. Not real doesn't mean it doesn't happen. It indeed happens, but the way it is happening is deceptive. The way your mind projecting smoking is real is deceptive.
When, your wisdom of this deception is then getting stronger and stronger, you will have a power to not be deceptive to smoke again. You can see the coming of this desire or projectionto smoke, but the strength of your wisdom is already able to withstand the delusiveness of that projection. When that strong desireness or delusiveness melts, your wisdom will be strengthen even further.
It is like the firewood, the more wood you put, the more your wisdom grow.
Initially, you will fail, because it is still weak. Never mind. In the long term, it will be ok.
This principle you can apply to your issue now. Before masturbate, you will see this desire, then you try 3 times in a row,
and see whether it is a joy or not.
It will give you direct experience in experiencing delusiveness in concrete and real way.
Not imagination or from reading the book.
Use poison to make the best out of that poison - which is direct experience of deceptiveness or hollowness in whatever you are projecting.
At the moment, you maintain your awareness in looking at the deceptiveness in that joy, that is your samadhi.
At the moment, you are seeing the whole process of deceptiveness or hollowness in that joy, that is your vipassana.
Ask this to yourself afterwards:
My projection seems real, why does it then change?
What is real then?
See the whole process of deception without any guilty feeling.
That is your direct dhamma beyond text.
In that activity like masturbate, your awareness is at extreme level and your awareness can be extremely strong and extremely vivid.
If you success in seeing the hollowness of your projection, it can be one event that make you realize emptiness for once and for all.
In extreme cases, the delusion can be atomic, but the realization of the reality is also atomic.