In the event that any illegal action happens during the play, the results of the previous play are erased and a penalty is assessed, forcing the offending team to surrender between five and fifteen yards of field to the opponent.