masturbating

too much of masturbating it affect any future problems

It effects in a way that the ‘real thing’ will not give the same pleasure as you are used to masturbating. This will upset your spouse to no end.
If you are masturbating because you are a bachelor, limit it to twice a week maximum and if you are happily married, just do not do it, instead talk to your spouse and work out a win-win situation for both of you…