There is “NO WAY” to prevent peritonitis, since the diseases it accompanies are usually not under the voluntary control of an individual.
However, the best way to prevent serious complications is to seek medical attention as soon as symptoms appear.
“Evaluation and Management of Secondary Peritonitis.” American Family Physician 54 (October 1996): 1724+.
“Subacute Bacterial Peritonitis: Diagnosis and Treatment.” American Family Physician 52 (August 1995): 645.
Isselbacher, Kurt J., and Alan Epstein. “Diverticular, Vascular, and Other Disorders of the Intestinal and Peritoneum.” In Harrison’s Principles of Internal Medicine, ed. Anthony S. Fauci, et al. New York: McGraw-Hill, 1997.
Platell C., Papadimitiriou J M., Hall J.C. The Influence of Lavage Fluid on Peritonitis. Journal of American College Surg 2000; 191: 672-680.