Under normal working conditions, if all fans are functioning and a CPU still overheats, replace the thermal interface material (TIM) between the heatsink and processor. The TIM eventually hardens on most systems.
See a computer technician, or purchase professional grade TIM and replace it yourself. Carefully follow all instructions and warnings. See How to apply Thermal Interface Material (TIM).