Over the past few years i have been masturbating more and noticed that I have been stressing out over anything and become nervous a lot usually I a calm person and don’t let stuff stress me, nut lately i just anxious for no reason and then i found out my hormones like testosterone are little low, i also notice that my muscle mass and bone mass is smaller and i feel like i’m weaker than i was a few years ago,when i get up in the morning my body is stiff and pain in joints and i’m only 21, is the reason because of masturbation also sometimes if i walk outside my eye are really light sensitive then when i come in my pupils stay dilated too long, can you tell me what to do to gain my body weight back and to stop being anxious?

Yes, as suspected, you are experiencing symptoms of sexual exhaustion.

Light sensitivity is fairly common, you may want to take a look at this article  .

The stiff joints and the anxious feeling are a clear indication of heightened stress and inflammatory hormones levels (epinephrine, norepinephrine, cortisol, histamine, and prostaglandin E2, and more). These will also cause muscle wasting and will gradually and completely destroy ones hypothalamic-pituitary-adrenal-testicular axis proper functioning. It is an ill cycle of inflammation that has to be broken.

The sufferers will commonly be prescribed antidepressants to worsen the condition in a long run – Here
I would suggest a combination of Alpha-Amino, GRB6-GABA, 5HTP-Nettle, Multi-Alpha, and Ultra-Purified-FishOil to restore proper nervous and endocrine functioning, restore proper acetylcholine, serotonin, dopamine, and GABA levels, modulate inflammatory response and sympathetic functioning, better hypothalamic-pituitary-adrenal-testicular axis for more androgens, rewrite the negative neuroplasticity, jump start the CNS, and increase prostaglandins E1 E3 and Nitric Oxide.

You should also modulate your diet, exercise, take showers and massages.