Try to reset you CMOS. this is done by Moving a little small plastic head called jumper, located oftest just below your graphiccard(check MB manual otherwise) to the right(oftest) After 30seconds move it back and try boot up again.
Also make sure no dust or anything is preventing the system from cooling, since many computers shut down themselves when they are too hot.