Could be various things:
idle control valve
MAF
temperature sensor for air
temperature sensor for coolant
oxy sensor
Do you have any possibility to read engine faults with a diagnosis tester?
That would be the easiest. If not, you have to check step by step. Would first start with cleaning the idle valve.