Reboot the computer from the installation disc. You may need to configure this in the computer's BIOS or by holding the F8 key on reboot. From there, you should be able to repartition your hard drive(s) or repair the installation.
As a present for my husband and a replacement for his old e-machine, I bought a new silver tower & monitor from EBay plus separately a mouse, keyboard and speakers. I also bought a new Windows XP Home version disc. Stupidly I thought that by just running this disc on the PC it would install and the computer would be ready to go. Unfortunately when I ran the XP, the message was that the partition was not the right size, and then I realised that it had not been partitioned. However the message "error loading operating system" remains on screen even after rebooting and will not let me in.
What do I do now please, as the present has backfired on me due to lack of knowledge? The more we know the more we realise how little we know!
AMD Athlon
2.4Ghz
80gb HD
256 RAM
AMD Sempron proc.
plus lots of other goodies and an upgraded graphics card from the spec. for gaming

Chowhound
Comic Vine
GameFAQs
GameSpot
Giant Bomb
TechRepublic