Separate the guinea pigs immediately into different cages. Identify the cause, such as competition for food or water, lack of space, boredom, or illness. Provide separate bowls, a larger cage, toys, and veterinary care if needed. If fighting continues, consult a veterinarian.