If you plan to slow down, you can warn drivers behind you by:

Before slowing down, it is a good idea to flash your brake lights by lightly tapping your brake pedal a few times. This will warn drivers behind you of your plans to slow down.
DMV Writen Test