Problems With DVD Rom

I am having strange problems with my dvd rom :-
a) The door wont open, I can open the door with a pin and after I insert any cd it kicks the cd. It door wont stay closed , is the drive totally shot or it can be fixed.

Test it in another computer if possible, maybe just the tray mechanic needs to be fixed.

can that be fixed or no