Thank-you for responding. Heres the entire story. I bought memory online. 4GB 2x2GB Ram Memory for Apple Imac "Core 2 Duo" 2.4 20-Inch Early 2008 DDR2-800 PC2-6400 SO-DIMM. The description says: Compatible with Apple-iMac "Core 2 Duo" 2.4 20-inch Early 2008 4GB Total, 2PC 2GB PC2-6400 200 pin SODIMM DDR2 800MHz MB323LL/A iMac8.1- A1224-2210 Max Memory 6GB.
I installed the memory but had downloaded Yosimite before installing. After installing the memory the pc was way faster. I decided to install Yosimite and got stuck on a gray screen with the apple logo and a process bar. The install would stop halfway. I thought I was installing omniweb at first. I submitted a question on here and a picture and was informed it wasn't omniweb I was installing. I followed the user Kappy instruction and went to disk utility and repaired the disk. It took probably 6 times of re-running the repair. I kept getting messages saying the disk couldn't be repaired and to reformat. Finally I got the message it was repaired. I did the disk permissions and then installed the only option there was which was Yosimite. After installation I got the message to install my updates. I did my updates and everything seemed to be great. Actually the best its been since purchasing. Later that day I got stuck the computer froze and nothing I did was working. Command Option Escape nothing. I turned it off by holding the power button and then turned it back on. My screen went back to the gray screen where it got stuck halfway through. I had asked what to do next and saw that I may have to take it to the apple store. I used to run Time Machine and quit about a year ago. I have several external hard drives and don't remember if its still on one or I erased it. I do however have all my photos movies and some software on externals. I decided to go back into disk utilities and run a disk repair again. This time I must of ran it 15 times and every time I get the message that the disk cannot be repaired to to back up and reformat the drive. I have purchased all my software or OX upgrades online. The copy of Yosimite showed up in disk utilities under the hard drive and says disk1 OS Base system. I wasn't sure if I erased the drive if I would loose that too. I'm not even sure how to erase the drive. I have had windows computers until I bought my mac in late 2009 and have never has any issues until this. My pc's were always having problems.
I am on a fixed income so I've always tried to figure things out.