Grade the driveway with a tractor if you have time to prepare before the first winter rain. You can still grade when the driveway is muddy, but you won't be able to do as precise a job.
Shovel gravel onto the driveway. If you have the tractor, have it drop gravel evenly along the entire driveway. A 2-inch layer is good to provide traction, but thicker areas may be required in divots and puddles.
Rake the gravel evenly across all areas. Puddles and tire spin-out areas will need more gravel than flat sections. Measuring the thickness of the gravel isn't as important as noting areas where water is still pooling. Add more gravel to prevent splashing gravel pebbles up when driving over the low spots.
Compact the gravel to create a smooth, level surface. The tractor can pack it down tightly if you lay the back of the bucket on the driveway and pat the gravel, leveling successive areas. If you don't have a tractor, a gravel roller is a more labor-intensive option. Your local hardware store will have rental options if you don't possess the right equipment.