After you are arrested, you will go before a judge. When you are in court, you will learn the charges against you, and the judge will typically set bond. Bond means that the defendant will be allowed to stay out of jail but must appear in court for their upcoming case or will forfeit the bail they provided. There are also often some conditions for remaining out of jail. Recently, the Pretrial Integrity Act went into effect, which changes how bond is set for some types of criminal charges.
Pretrial Integrity Act