If a warrant is issued where a summons should have been used, the key is to get it corrected quickly while showing the court that the accused is ready to cooperate. Best lawyers usually (1) check the file to see if the court recorded proper reasons and whether summons were ever issued/served, (2) move the same court for recall/cancellation of the warrant by pointing out these defects and offering full future attendance, (3) have the accused appear or surrender with a bail request if needed, and (4) if the magistrate refuses, go to the Sessions Court or High Court to challenge the warrant as illegal or disproportionate, while ensuring the accused strictly follows all future dates.