what causes the idle to go up and down on a regular basis, on 2000 Mazda 626

I was told that egr is causes that,Ijust had fuel injection cleaned,tune up,just can't get idle to stop variating.also still have egr code,should I replace it?

Asked by for the 2000 Mazda 626