Hi,
1.
What is the exact name of the game?
2.
What is the error code or error message?
First of all I would suggest you to check if the game is compatible with Windows 7.
Windows 7 Compatibility Center:
http://www.microsoft.com/windows/compatibility/windows-7/en-us/default.aspx
If it is not compatible with Windows 7, then try to play the game in Compatibility mode and check if it helps.
Make older programs run in this version of Windows:
http://windows.microsoft.com/en-us/windows7/Make-older-programs-run-in-this-version-of-Windows
Note: If the game was designed for Windows 98, then you will need to choose the compatibility level to Windows 98 while installing the game.
If still you are not able to play the game, then it would be better to contact the game software manufacturer for further assistance.
Hope the information is helpful.