What are the specs of the computer? Motherboard, ram, processor.
Try taking out all the ram it should stay on giving you an intermittent beep. Then put it back in. Try changing ram slots. Make sure processor is position right with no bent pins. Power on the computer and feel the processor see if its very hot.