An attorney can get you out on bail . Bail is the amount of money that must be paid in order for someone to be released from jail before their trial . The court decides how much bail will be and the number of conditions that may be applied, such as no contact with potential witnesses or surrendering your passport.