Bad monitor, bad video card, bad power supply, overheating issues.

Try another monitor with the system, if it keeps happening, check if the system continues to run or if it shuts down.

If it continues to run while the monitor is blank, try a different video card, RAM, motherboard.

If the PC shuts down, try power supply first.