Get your goals written down for the week/month. It helps a lot. Make an XP system if it helps, like 20 points for not masturbating all week, 5 points for every workout and so on an so forth, and make a goal of 100 points for the week. See if that helps.
Also, it seems that a lot of your energy...