Treatment of spontaneous bacterial peritonitis