Penalty enforcement on running plays is from the end of the run except for fouls committed by the offense; those are penalized from the spot of the foul.
Players leaving the bench to participate in touchdown celebrations will result in a five-yard penalty for the scoring team.