Always leave enough space between you and the vehicle in front so that you can stop safely in the event of an incident. In good weather conditions this should be a two-second gap. This should be increased to at least a four-second gap in poor weather conditions.
In dry weather conditions, with good tyres and an average car, stopping distances are likely to be: (click on the image below to view information).
Image courtesy of direct.gov.uk.