Hello and welcome to Tom's Hardware Forums.
If your PC came with an XP CD or a Recovery disk, use that to start the system then find the Command Prompt to run Checkdisk using the command syntax
chkdsk c: /r
including the spaces. That will start a five stage process which will examine your hard disk, including the Master Boot Record, and fix any disk errors caused by the unscheduled shutdown.