It is a terrible shock, isn't it! I went into total denial at first. But it is not a death sentence, just a wake-up call! I can't follow the Low-carb, high-fat diet that so many people find helpful, as I also have high cholesterol and try to keep my fat intake within reasonable limits. And keep my carbs as low-GI as is realistically possible, but take the line of "moderation in all things". The metformin does the heavy lifting, and my blood sugar is now normal.
But it is good to take care of yourself, both mentally and physically. I do tai chi twice a week, and try to walk at least a kilometre, if not more, most days. Works for me, and I've made new friends at tai chi.
Do be aware that the metformin will probably make you feel rather sick for a few days, which repeats every time you have to increase the dose. I'm fine on it now, but I do know people who haven't been able to tolerate it, and have had to have something else instead - so don't suffer more than a day or two, but go straight back to your doctor if any sickness doesn't resolve.