Windows does not load operating system

I have tried installing and re-installing the windows several times but the result does not change, every time I hit the start up button, it shows the motherboard logo (HP) and then a black screen shows up saying " error loading operating system" . How do I solve it???
