If the judge says that the guilty person must be punished, he shall command him to lie with his face on the ground and be whipped. The number of times he is struck with a whip will depend on what kind of crime he committed.