An alternating pressure pump is used in conjunction with an air mattress to prevent and treat pressure ulcers, commonly known as bedsores. The system is designed for individuals who are immobilized or weak and unable to shift their weight frequently.