Depending on how severe the frostbite (i.e. How deep the freeze goes), the treatment can range from simply rewarming to in-patient treatment similar to burns
to amputations and long recovery times. If you have frostbite, you should see a doctor right away.
Answer assisted by David Miller, Medical Student