We need a few more details to give you a proper answer.
What version of Windows?
What motherboard?
Which version of DirectX?
How much system RAM?
For starters:
Depending on the game, you may need a specific version of DirectX.
DirectX 9C is the latest.
You can download it from Microsoft.
For a 64MB AGP card, you need at least 128MB of system RAM. 256 MB would be better.
In BIOS settings, you want to set an AGP aperture of between 128MB and 1/2 of system RAM.
For Windows 98 or Me, don't install more than 511MB of RAM. (I stop at 384MB.)
You may need to update the AGP port driver for the chip-set on your motherboard.
Make sure that your monitor is properly detected and the correct driver is installed.
You could be locking up because the video card is setting a combination of resolution and refresh rate that your monitor does not support.
Chas