Most optical drives have some way to open them manually if the Eject button doesn’t work. Check your computer’s or optical drive’s documentation to see if there’s an alternate way to open the drive. One of the most common things drive manufacturers do is put a tiny pinhole on the side of the optical drive’s tray. Other manufacturers may place a larger hole under the disc tray instead. For both scenarios, you just need to insert a thin object (such as the end of an unbent paperclip) into the hole to open the drive. Other drive manufacturers provide a special tool for opening the drive in case
of an emergency.
If all of these suggestions fail, you can sometimes grab the edges of the disc tray and carefully pry the tray open. Then, once you get the tray open, you can remove the disc, which likely is the source of the problem. In many cases, a warped disc or one that has a label that’s unpeeling is what caused an optical drive’s tray to become stuck in the first place.

