Treatment involves addressing the underlying infection, staying hydrated, and, in severe cases, using antibiotics under medical guidance.