Insulin is used to treat a number of diseases including diabetes and its acute complications such as diabetic ketoacidosis and hyperosmolar hyperglycemic states.it is also used along with glucose to treat high blood potassium levels.use during pregnancy is relatively safe for the baby. insulin was formerly used in a psychiatric treatment called insulin shock therapy..