Masturbation is normal physiological act. It has no relation with weight. Masturbation never causes weight loss. To increase your weight you should take healthy balance diet, exercise regularly (more of weight training then aerobics) and learn to relax. Worries regarding weight will prevent weight alteration. You may consult Physician to rule out medical conditions like Hyperthyroidism, Anxiety Neurosis etc.