Flash your brake lights or turn on your emergency flashers if you:

If you can see a collision ahead, warn the drivers behind you by turning on your emergency flashers or by tapping your brake pedal quickly three or four times.
DMV Writen Test