Hiring an attorney will maximize the chances your friend or family member will get out of jail. A criminal defense attorney can advocate on their behalf with pretrial services, and if that does not work, he or she can file a release motion and ask a judge to order their release. No attorney can guarantee that they will get someone out of jail, however.