I was diagnosed as diabetic ( type 2) at the start of what turned out to be an escalation of my peri symptoms. I was your typical type 2 , overweight and addicted to carbs- research showed me that the two are symptoms of what I think of as carb intolerance - since cutting out most carbs from my diet and following a low carb higher fat diet as recommended by many in the field, I've lost a lot of weight, my sugars have normalised and I feel , peri aside, much more in control of my eating.
Your GP will , depending on your hba1c ( a test that looks at blood glucose over three month period) offer medications such as metformin and send you on an education course. I found the former useful in early days, but the course was a bit rubbish tbh. If I can suggest a website, have a look at diabetes.co.uk for advice.
Above all, don't panic and remember that it isn't controllable. It's also worth a read of Prof Roy Taylor on reversing diabetes through diet and also Michael Moseley's book on blood sugar diet.