What are the effective measures to prevent acute peritonitis with subdiaphragmatic abscess?

Firstly, antibiotics should be started from the time of diagnosis, and secondly, purulent exudate in the abdominal cavity should be thoroughly removed, including surgical means such as abdominal irrigation and indwelling drains.