Don't get upset already,
There may be others who can help here if you can provide details, such as: Whether your computer is a desktop or laptop, what type of Mac it is (G4/G5), Slot CD Rom or tray type… etc.
For a tray type there have been always a pin hole to eject CDs in emergencies. In a G5 PowerMac I think but not sure you can remove the CD Rom from inside the casing easily to try insert the Pin.
I am not a hardware technical person, but if you are in a hurry post your Mac issues on
MacFixIT website. Otherwise wait for other members to assist you here.