How is a bedsore treated?

How is a bedsore treated?