The first license you will obtain is called a provisional license, which has restrictions on it until you reach the age of 18. While you hold a provisional license, you are not allowed to carry passengers younger than 21, except for siblings, and you may not drive a vehicle between 1 a.m. and 5 a.m. Of course, there are a few exceptions. If you must drive between 1 a.m. and 5 a.m., you may do so if you are accompanied by a licensed driver 21 or older, or if you are driving to or from your workplace. Once you turn 18, these restrictions will be removed.
If you violate the provisional license restrictions, you could lose your license and have to pay a $200 fine. You'll also receive two points against your driving record for breaking the restrictions. You must visit the DMV in person once the provisional period is up to have the restriction removed from your license.