it's okay if you're able to stop without constantly feeling the need to masturbate. Some people develop a kind of sleep disorder, because they got used to masturbating before going to bed. there is no actual masturbation limit, but keep in mind that the smooth musculature in your dick can get sore as well and needs to recover once a while