If it's an Intel stock cooler, it has 4 black plastic "screws" on it. If you twist those 45 degrees counter clockwise, the cooler should become loose. If it's still stuck after twisting those thingies, beware and remove the heatsink with extreme caution, as it may rip the cpu out of it's socket.