If you press the button and it does not go in or out it sounds like the gears are misaligned or broke. I have had luck lifting the drawer until it snaps back into the right spot. With a dvd player and with a computer. But it may just snap off....
I would have to see the problem to guess at what else to do.
The bad news is I do not think you could easily open the drive to try and fix it.
the good news is that optical drives are relatively cheap. As little as $30! and can be installed pretty easily.
Mikeeee