When being followed too closely by another vehicle, you should:

The best way to deal with a tailgater is to get them ahead of you. If you can do so safely, change lanes and let them pass. Speeding up may only increase the danger by encouraging them to continue tailgating you at a higher speed.
DMV Writen Test