If you can afford a loved one’s bail, pay it in full to the court. The money comes back when the case ends, as long as they make every court date, minus any fees or fines the court deducts. A bail bondsman’s fee, usually 10% of the bail, is gone even if the charges are dropped.

Source