To avoid last-minute braking and turning, you should look down the road at least:

To avoid the need for last-minute braking or turning, you should look down the road at least 10 seconds ahead of your vehicle. By looking well ahead and being ready to stop or change lanes if needed, you can drive more safely and help keep traffic moving at a steady pace.
DMV Writen Test