Spotting after masturbate

Please help! I often get spotting after I masturbate, and it can last few days, even I can get menstruation. Sometimes, I think masturbation helps me to regulate my irragular menstruation circle. Is that normal?