Does quitting porn mean no masturbation?

I quit watching porn, but really have the need to masturbate. I guess I can’t decide if quitting porn means no more masturbation, even without porn. My partner is long distance so I don’t get off that often and it drives me crazy. Any experience with this?