A man was walking along the road when a red car suddenly hit him.