If you're over the age of 18 and if you don't already have some sort of restricted license (a learner's license), you bring all the documents that you'll need to prove identity and residency with you, when you go to the DMV office.
Step 1: Pay the license application fee.
Step 2: Take & pass the vision exam. (If you can't pass the vision exam, you'll have to get corrective lenses & come back another day and re-take and pass the vision exam before you can proceed any further in the testing process).
Step 3: Take and pass the written test. You have to pass the written test before you'll be allowed to take the road test. Steps 1, 2, and 3 are all completed the same day.
Step 4: Make an appointment to take the road test a few days later. In many DMV offices, you have to make an appointment because of the lack of manpower for an officer to accompany you during the road test and because of the length of time if takes to complete the road test.
Step 5: If you pass the road test, you'll be issued a valid "paper" license that day, to use until you receive your permanent laminated license in the mail in about one week. The paper license looks exactly the same as your permanent license, except it's printed in black & white on paper.
Somewhere during all the testing process, the DMV wlll take the photo that will appear on your driver's license.
You usually get 3 tries to pass Steps 2, 3, or 4 within a 90-day period, before you're charged another application fee.