>>76463926 (OP)
If you're single jerking off is fine if things are kept within reason. If you're in a relationship and have to jerk off on a regular basis then you have a real problem.
As long as you're not spending more than 30 minutes a day jerking off and the porn you watch isn't some weird depraved shit, jerking off will have no negative effect on your life. If anything it will reduce stress and clear your mind. If the jerking off becomes compulsive and you're wasting large amounts of time gooning and going down weird degenerate porn rabbit holes you need to cut back.
Smoking weed is infinitely worse for you then a healthy masturbation habit. Weed will rob your motivation, make you stuff your face with junk, make you forget to workout, destroy REM sleep, possibly get you in legal trouble depending on the state, repulse respectable women, give brain fog and hangovers, and everybody who knows you smoke will lose respect for you unless they are stoners themselves.