Metformin (Glucophage, Glumetza, others). Generally, metformin is the first medication prescribed for type 2 diabetes. It works by improving the sensitivity of your body tissues to insulin so that your body uses insulin more effectively. Metformin also lowers glucose production in the liver. Metformin may not lower blood sugar enough on its own.