Masturbation as such is not harmful. However, it must be done correctly and in a healthy way. If it is sone just to avoid stress, or secondary to watching porn, it can risk you for development of sexual problems. Especially. Premature ejaculation and erectile dysfunction is very commonly associated with incorrect way of masturbation. Pornography use is very common problem associated with excessive masturbation, and must be avoided.
Next Steps
For more suggestion regarding masturbation technique and sexual hygiene, you can consult with me directly here on Practo.