Diabetic ketoacidosis occurs when a person ... usually with antibiotics. At the hospital, your physician will likely give you intravenous (IV) fluids to help your body rehydrate.