My question involves a driver's license issued by the State of: California

My friend is a unlicensed driver. He is 16 years old. He stole his dad's car and drove around. He parked at a place that he shouldn't be and got caught by the cops. Then my friend called his friend to pretend his friend is his dad, but he failed and got arrested. How long will he be jailing? Who can bail him out? Only the lawyers, parents, and Guardians? How much will it cost? What are all of the consequences? It's emergency because my friend is jailing now and i want to get him out as soon as possible, please. Thank You.