How do you get your driving temps?

You go into the DMV and you take your test. Then in order to get your licence you have to complete so many hours of driving with a parent or gardian. w/e I think....