Preliminary hearings only occur in felony offenses.
A preliminary hearing is necessary for the judge to determine whether or not there is sufficient evidence or probable cause to support the charges and bind the case over to superior court for trial.
During the preliminary hearing, the district attorney or judge can add additional charges and attempt to remand the defendant back into custody even if they are currently out on bail.
You need experienced legal counsel during this critical phase.