Windows has encountered a critical problem and will restart in one minute

While opening computer always a dialogue box containing "Windows has encountered a critical problem and will restart in one minute" appears. After appearing this message computer restarted. This is occurring continuously. I have Windows 7.