The problem is likely to be either in your autoexec.bat file or config.sys. Run msconfig from the Start/Run command on the desktop. Then go through both files, disabling individual commands temporarily to see where the problem lies.
You have an incompatible real-mode driver. Find “Exit to DOS.pif”, get Properties, and on the Program | Advanced tab enable “Specify a new MS_DOS configuration.”
Yet another non-Windows problem being called a Windows problem…