Metformin is a drug used to treat patients having diabetes. There are 2 types of diabetes, type 1 and type 2 and metformin is only used to treat people having type 2 diabetes. Metformin come as a tablet and taken by mouth. It is the drug of choice to lower the blood sugar level when a person is first found to have diabetes.