Masturbation is natural and beneficial, whether you're single or in a relationship. Many people do it regularly. It's only a problem if it's interfering with your life (e.g. you have no time to do anything else because you're masturbating 10 times a day, you masturbate in public/risky situations, you completely avoid sex with your lover to masturbate instead, etc.)
I guess I'm not sure what the problem is. You have pain from masturbating a lot? (tip: use lube and be gentle) Or it's causing a problem in your marriage?