Having the right attorney early can make the difference between traveling to your first hearing from the jail or home. Hiring an attorney right away means you have representation and someone on your side when dealing with the judge or commissioner setting bail.
Even if you cannot initially make bail, your defense attorney will visit you and develop a strong argument on your behalf. They will prepare a bail reduction motion to hopefully persuade the court to release you before trial.
Your attorney should talk to a bail bond agent if you request it. They will also prepare Nebbia hearings if necessary to prove that the money your supporters are using to pay bail is from a legitimate source.