If the guilty one is sentenced to be beaten, the judge is to make him lie face downward and have him whipped. The number of lashes will depend on the crime he has committed.
"If two brothers live on the same property and one of them dies, leaving no son, then his widow is not to be married to someone outside the family; it is the duty of the dead man's brother to marry her.
But if the dead man's brother does not want to marry her, she is to go before the town leaders and say, 'My husband's brother will not do his duty; he refuses to give his brother a descendant among the people of Israel.'
his brother's widow is to go up to him in the presence of the town leaders, take off one of his sandals, spit in his face, and say, 'This is what happens to the man who refuses to give his brother a descendant.'
So then, when the LORD your God has given you the land and made you safe from all your enemies who live around you, be sure to kill all the Amalekites, so that no one will remember them any longer. Do not forget!