How to treat a diabetic emergency