It always helps if you give us more information about your computer, operating system, age of the machine, etc. Can you read data CD's or is the problem only with music CD's. Is the problem that they won't automatically play, or do NO CD's placed in the computer work at all. The more information you give us, the better our responses will be.
Without that information, I'll suggest that the computer is old, the CD drive has gone south, and you need to replace the drive. You can purchase a brand new one for less than $20, and installing it isn't that difficult.
Hope this helps.
I cannot get my CD player in my computer to work. It worked a week ago but now wont play when I put cd's in. Any help is greatly appreciated.