Masturbation itself, not really a problem. It does release sleep hormones, will make you sleepier and may cause zinc deficiency if you do too much, but not that big of a deal.
Porn is, however, a big deal. Stop consuming porn, start seeing women as humans rather than objects. My two cents.