Problem with display and cpu is not starting.

I powered the CPU and it started. But the monitor was not displaying anything. Light of the monitor flashed but was not stable. After an hour I started it again and worked normally but after about an hour it shut down and not taking start again. How to fix up the problem?
