5 beeps is usually CPU failure. Take the CPU out, check the socket pins for damage and place the CPU back in if there are no bent pins. Do not do this unless you have thermal paste available to reapply on the CPU cooler.
5 beeps is a problem with the CPU. There has to be either something wrong with the CPU socket pins or less likely with the CPU itself. The stock cooler doesn't or shouldn't apply enough pressure to shift the pins out of place like a large tower cooler sometimes does.