<suddenly u cant quit ,even if u want. . Its better leave it off slowly .
Actually, there are several studies that show that frequent masturbation can prevent prostate cancer later in life. Apparently toxins build up in the seminal fluid and masturbating or having sex gets rid of those toxins. So, you're not doing anything wrong by masturbating nor are you hurting your health if you stop masturbating.
I'd say you listen to whatever your body is telling you. If you feel like you need to masturbate then there's nothing wrong with that.
Not your physical health, however masturbation is natural and a good stress reliever so I wouldn't recommend stopping forever. But in short no it won't affect your health at all, but mentally it's good for you.