After an arrest, bail can be obtained through one of three routes depending on the stage and the nature of the offence. First, the police may release an accused on bail at the police station itself where the offence is bailable, subject to an undertaking to appear in court. Second, where the police have not released the person, the accused appears before the court which decides the bail on merit.
Third, for serious or non-bailable offences, the accused challenges the need for custody before the magistrate or the sessions judge, and the court weighs the gravity of the offence, the likelihood of flight, the risk of tampering, and the antecedents. Where bail is refused, the accused can approach the higher courts, including the High Court, to reconsider the order on new material or on a fresh analysis of the same facts.
Each route has its own procedure and its own timing. The practical advice is never to leave the question of bail to chance. The accused should ensure the right to bail is exercised promptly, since detention pending trial carries consequences beyond the loss of freedom, including risk to livelihood and to the defence itself. An advocate will decide which route to use based on the section and the facts of the particular case.