How do you remove a photograph that is stuck to the glass in a frame?

I have a photo that has been in a frame in storage for some time. I tried to take the photo out and part of it is stuck to the glass. Do you know how to remove it without destroying the picture? Thanks