Law 13 itself says only who gets a free kick, that direct and indirect free kicks are awarded to the opposing team of the player, substitute, substituted or sent-off player or team official who offended. Everything after that is procedure: the place, the taking, the distances, and the offences and sanctions that follow.