During the process of masturbation, there is nothing shameful or unnatural; the vast majority of people engage in this method of self-pleasure.

If you are not causing physical harm to your body while masturbating, then in other respects it is a completely safe and natural process.