first what brand CPU do you have? AMD or Intel?
But the basic run down is, open case, look for lever on HSF (heat sink and fan) unlock it, gently twist the hsf to break the thermal paste loose.
Once broke loose it should come right off exposing the CPU, Depending on the brand of CPU, there...