Daewoo Matiz - high revving when cold - rog the dodge

twhen starting from cold my daughters matiz will run ok for a minute then rev very high putting on the engine management light. It then calms down and chuggs for a minute before settling down and then runs ok as light goes off. Any clues as to why? Thanks Dodgy Rog