How do i change a light bulb when the glass bulb broke?

for some reason the glass bulb exploded and broke so now just the metal part is down in there. i have been trying to get it out so i can change it. any ideas