You can try to get out of this addiction by eliminating routine, boredom and lack of interest from your life. It is therefore worth finding a passion to which you will be able to devote a lot of time, do some course, postgraduate studies, engage in charitable activities or join some professional project.
In addition to improving your fitness and reducing your weight, the emotions that were previously released through masturbation can be released much more effectively during a workout.
You can also try to eliminate the habit of masturbation with your social life. Perhaps there will be one among the closest people with whom you can talk about this embarrassing habit.
In addition, it is good to get rid of all things that can remind you of the need to masturbate, such as pornographic pictures, newspapers, movies, websites, etc. This certainly helped me a lot to live a normal life without being constantly reminded about things that make want to touch myself again.