If another vehicle is following you too closely, you should:

If you are being followed too closely by another driver, tap your brakes lightly to alert them to an upcoming change in your speed and then slow down to encourage them to pass. If all else fails, pull over, stop, and let them pass.
DMV Writen Test