You friend needs to contact a criminal defense attorney. He'll have a court appearance today and likely be released to find an attorney.
Ben Glass is licensed in Virginia. He offers a number of free consumer book downloads at his site for information purposes only. You should consult an experienced, board certified attorney in your area. Obviously, no attorney client relationship is formed by participating in Avvo.
If he does not have funds to retain an attorney, he can request court appointed counsel. His family should reach out to a local attorney in case he does not get bond. One issue I would point out, however, is I'm concerned he may have immigration issues. That could complicate the bond circumstances. Particularly, if he does not have proper status in the US and obtains bond, he may have an ICE detainer on him. If he then posts bond, ICE will take him into custody.
Tell the family to contact someone immediately.
This answer does not create a attorney/client relationship, but is intended solely in the court of discussion. It is always my recommendation to retain an attorney whenever a court appearance is necessary. This recommendation is highlighted when it relates to an individual's criminal record.
Hiring a criminal defense attorney for your friend is the best thing you can do for him. Raising whatever restitution is needed might become necessary. Who knows if the tickets can be voided or if they represent a loss to the owner. But first, an attorney.
We do not have a client/attorney relationship until you make an appointment, we discuss your case face to face, I accept a retainer, and we explictly agree to enter into representation.