You could try to boot into safemode by pressing f8 when you boot the computer before the windows logo and then select boot into safemode. From there you can scan the computer and try to fix whatever it is that is broken, if you need to in safe mode you can actually recover your OS to a previous state.