Indiscriminate eating habits can result in gastritis which is inflammation of the stomach lining. The other causes of gastritis include inflammation of organs other than the stomach (e.g., kidney failure, pancreatitis, and hepatitis), drug allergy, and ingestion of foreign bodies. The disease is diagnosed by physically examining the dog, by radiographic findings, and by lab test results. Treatment involves restoring the hydration and an injection to stop the vomiting. The affected stomach needs to be healed properly. For this purpose, food should be withheld for 12-24 hours. A regular diet should be introduced gradually. The disease may have certain underlying conditions which need to be investigated and treated. These conditions need treatment that may include deworming medications or removal of the foreign body causing the obstruction.