Welcome and you’ve come to the right place and doing so early gives the the best advice. We almost all felt scared, worried, confused and sometimes guilty too. I know I did. What you get told by your surgery is variable depending who you see. It’s likely to be some version of lose weight, be active, take these drugs. The diet advice is likely to be cut fats, eat wholemeal/brown stuff. (Spoiler: this won’t work very well)
If you are lucky you’ll get other options too. Ones that don’t have medication side effects and are about lifestyle and eating habits. If you can see my signature below there are some links in red. They give explanations and links to great resources. Fundamentally most of us have found that cutting out a lot of the carbohydrates (not just sugar) and replacing them with more unprocessed proteins and naturally occurring fats we have resolved our blood glucose issues, and also blood pressure and excess weight too. And despite scaremongering about fats so long as we avoid the seed and vegetable oils we almost always improve cholesterol and its ratios too. It’s so successful that a lot of us dont need medication, or a lot less, if we stick to this.