My friend it's all in the mind. You can stop in an instant if you want to. The road to recovery just begins with the thought I am going to break free no matter how hard and painful and long it takes. And it will be long and hard but it's worth it. We usually refuse to give up because we haven't accepted that hard work, dedication and pain will be involved. BUT the pain of recovery is far better than the pain of addiction. You have felt it already. NO PAIN NO GAIN. Hard work is the easiest way out in the long run.
Believe that you can do it. Know that you can do it. (Read the handbooks, daily Chizuk e-mails and look at all the other guys who've done it.) God never tests a soul beyond it's strength. He gave you this challenge knowing that you have the power to overcome this hurdle. Just say no the urge even if you have to stay up all night. Play a video game, post on the forum, watch TV, do work, go to the kitchen and eat, anything other than masturbate. With just one night clean you will gain confidence and know that you can do it.
Practical suggestions:
1.) Build exercise into your daily routine - helps you relax and deal with stress and being a bit tired helps you to fall asleep more easily. Also, try and get into the fresh air and catch some sun (produces some chemical which helps you fall asleep).
2.) Listen to some soothing music/drink some milk before you go to bed/read a boring book.
3.) Scan the Zohar. This is a good site:
dailyzohar.com/. The webmaster is also a very helpful, kind and wise man. Ask him for help and advice too if you want to.
4.) If none of the above help then try more extreme measures: put a box of matches next to your bed. If you start masturbating then burn your hand.
5.) I used to put a pen knife next to my bed and poked my hand everytime I started being naughty.
Also, masturbation leads to insomnia (I know from experience and from Traditinonal Chinese medicine) so it's just a vicious circle. Break the circle, smash the Klipah and set yourself free!!!
We are cheering you on lol :D
Good LUCK!!!
DL