How much RAM do you have? It should show on the posting screen when you first turn the computer on.
As Rayok says, you may need to clean the contacts and make sure it's in tight.
If possible post back the motherboard model # or, if it's a brand name like IBM, Gateway or Dell, post back the model of the computer. That way we can look up the type of RAM you need.
To do a fresh installation of 98 you can boot the computer with a 98 bootdisk, choose cdrom support and at the a:\> prompt type:
format c:
and enter. This will wipe everything off the hard drive. When it's done and with the 98 cd in the cdrom type:
e:\setup
and enter, where E: is your cdrom drive letter.