A man was taken to hospital with suspected serious injuries after a crash in which a car overturned.