A vehicle suddenly cuts in front of you, creating a hazard. What should you do first?

If a vehicle merges in front of you too closely, take your foot off of the accelerator. This will create space between you and the vehicle ahead without requiring you to slam on your brakes or swerve into another lane.
DMV Writen Test