This is what you need. The quoted guide near the bottom been created especialy for this kind of ocasion.
It is not enough to install Win98 on a machine for it to work with DOS games, since contrary to what most people think Windows 98 didn't have a good DOS compatibility. You will thus need to edit your autoexec.bat and config.sys files so the machine load everything in memory when you restart the computer by using the MS DOS mode.
Happy gaming, and don't hesitate to ask more questions if you still need answers.