Computer not recognizing Windows OS

I bought a new internal hard disk and installed it but my Windows XP professional stopped working after that. The computer gets the power and gets switched on but is not recognizing the OS. Why is this so? What can be done?
