Your following distance when driving behind a motorcycle should:

When following a motorcycle, allow a greater following distance than you would when following any other vehicle. Motorcycles are able to stop and turn more quickly than larger vehicles and a driver following a motorcyclist needs time to react to their quick movements.
DMV Writen Test