DVD trays don't work forever and it may be simply broken. If it's still under warranty you should contact your manufacturer.
Before you do it, however, make sure that your DVD's cable is not unplugged from the motherboard. If it is unplugged it won't work, of course... :)