Welcome to the forum.
I have reposted this reply that I posted to someone in your situation in the hope it will help.
It is often a feeling people get when first diagnosed but sometimes it is a relief as it can explain symptoms you have been having but equally people sometimes will have had no indication of an issue. However it is a very manageable condition and learning how to manage rather than control will depend very much on you and how you engage with changes that you need to make with your diet.
That very much depends on what your HbA1C is that has given your diagnosis and as you have been prescribed metformin at this stage, your HbA1C is most likely well into the diabetic zone. It would be helpful to know what that is and if you have weight to lose as that would be helpful to know so people can give appropriate suggestions.
Have a look around the forum as there are a few recently diagnosed posting and they have had some responses with some ideas but also the Learning Zone (orange tab at the top) will guide you through some of the terminology and has some links that may help.
There are different approaches that people find suits them so finding the right way for you is important as otherwise it will not be sustainable.
Many find a low carbohydrate approach works for them, low carb being no more than 130g total carb not just sugar, but definitely not NO carb, this link may help with ideas for that way.
https://lowcarbfreshwell.co.uk/. If you don't eat meat or dairy then you can base meals on fish, eggs, vegetables and salads and fruit like berries. Do you use some of the plant based dairy as those could give you more options.
Other people find a low calorie or shakes-based regime suits them.
Increasing exercise if you can will also help, brisk walking is good, it doesn't need to be the gym unless that is your thing.