Punishments were Inflicted: Immediately After Sentence Was Passed
Source: TTT
Deuteronomy 25:2
If the guilty man deserves to be beaten, the judge shall have him lie down and be flogged in his presence with the number of lashes his crime warrants.
Joshua 7:25
“Why have you brought this trouble upon us?” said Joshua. “Today the LORD will bring trouble upon you!” And all Israel stoned him to death. Then they stoned the others and burned their bodies.