How do you prevent bedsores?

How do you prevent bedsores?