Masturbating

Does masturbating while on like your last day of your period cause your period to start back up or go longer??