What is a remedy for frostbite?

What do you do if you have been out in the cold for a while and your fingers and feet are feeling a little stiff and numb? What if the numbness is still there after warming up again?