thats some answer that can help you
Reduce the number of masturbation once a week. Tips on masturbation. Do it with lubricated hand.Do not stop breathing while doing mb. Keep your perineum relaxed. Do not do it in prone position. Do not hurry. Do not do when over excited. Empty your bladder before mb.
To avoid mb, do slow, deep and even abdominal breathing. Practice it for 10 minutes twice a day. then use it to stop sexual arousal. By practicing this breathing you can control any emotions.When you can control mb, you can find number of exercises by surfing Google. Google abdominal breahing and sat kriya(increasing sexual energy) These can be stand alone exercises. You need not learn learn yoga in details.