When someone is following you too closely, you should:

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