Lock the CPU socket arm down first. Then add the paste. I prefer to add the paste to the top of the CPU. The base of some HSF's are larger that the CPU heat spreader. Applying the paste to the HSF may result in excess paste getting squeezed out to go who knows where. That seems less likely if you apply it to the top of the CPU.