More info needed: precise model, graphics card, CPU, Windows version etc and, if applicable, how it is connected to the monitor.
A typical and simple cause of something like this in an old PC would be the graphics card has been removed or is now faulty.
Assuming it is a desktop the obvious...