Welcome here on HCM.
Your story suggest that you think by masturbating you are doing something wrong to your body so often your body respond as per your expectation,
So make clear in your mind that nothing wrong you are doing.
We are not living in primitive period when there is desire there is a female available to release.
So now days we have to assist nature by masturbation