When a child is sick with diarrhea, the best way to keep them from dying is to rehydrate them (give them the water and electrolytes (salts) they are losing by having diarrhea). If the child can go to a clinic or hospital, this can be done by giving water and salts intravenously (through a needle placed into a vein).