Some people who cannot curb their diabetes with diet and exercise alone may have to resort to medication in order to alleviate their symptoms. 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 the insulin your pancreas produces more effectively. Others who can't produce enough insulin will generally resort to insul shots after meals or an insulin pump that they wear constantly.