SURGING on 2009 Kia Sportage

My 2009 2.0 litre engine started surging at cold start up,
it revs up and down for about 30 seconds only when parked overnite in a warm garage, never after that.
Can anyone tell me the fix for the problem,or has experienced this. Thanks

Asked by for the 2009 Kia Sportage