Masturbate while on period

Will masturbation affect or shorten my period?