There are no specific exercises that prevent bed sores.
Bed sores are caused by pressure on the skin in people who are immobile. When mobile people feel pressure in certain areas of their bodies they move around to alleviate the pressure. In immobile people, they need to be helped to do this by others. Turning a person from side to back to side every 2 hours helps. Special beds can help.