Running a Windows 95 game directly on Windows 7 usually isn't possible due to how different the two systems are. What you can try is installing Windows 95 on a virtual machine and playing the game inside that emulated environment.
Be warned, though: even that approach doesn't always work. Older games can be finicky, and depending on the title you may still run into problems even within a virtual setup.