When you are arrested, you are first taken to the police station, where the police will take your information to determine whether you may be wanted on other charges and whether or not you can be safely released. If the police decide not to release you, you will be held in the local jail (no longer than 48 hours) pending your arraignment, which is your first appearance before the court and when the prosecution sets the criminal charges against you. The court will decide if you are to be held in jail until your trial or release. If the court decides to release you, it will typically order conditions for you to follow, such as refraining from committing new crimes, not having contact with alleged victims or witnesses, or submitting to drug testing. In limited circumstances, the court may set bail.