At a bail hearing, the judge sets the bail amount based on factors such as the seriousness of the offense and the defendant’s criminal history and ties to the family member and community. This is typically the court case and the defendant’s first encounter with the court system following their arrest.