Idle

What can cause idle to rev up n down when car is warm.When car is cold idle is normal.I’ve changed the idle air control vavle and 02 sensors.I have no vaccum leaks.I Notice when the fan comes on idle is normal too.

A vacuum leak can induce that.