Kimmer,
Even if a CD is not stuck inside, this is probably worth a try:
There are about a half a dozen ways to eject a CD. Try this one - if it doesn't work, nothing else will.
Boot computer. Hold option+Command+o+f (for Open Firmware). It'll boot to a white screen with black text telling you to let go of the keys. Let go.
Now type "eject cd" and hit return. It'll either just give you a prompt back, or it may give you an error message.
At any rate, if that doesn't kick out the disk, the drive is likely to have physical problem and you will have to take it into the shop to have the disk manually removed (and possibly to have the optical drive replaced).
Type "shut-down" to exit open firmware and shut down the computer. Restart normally.