Cooling system trouble
Sounds like you have air in the cooling system. That will cause the engine idle to surge up and down. There is an air bleeder valve on the top of the engine where the upper radiator hose returns coolant to the radiator. Once you get all the air out the idle should return to normal. Unfortunately the air is probably getting into the system via a blown HEAD gasket .