Learning is the key, and it won’t happen all at once. There will be false starts and cravings and (for me, anyway) a desperate hanging on to cherished carby food items. I found milk (for my posh coffees) and bread hardest to let go, but the meter did not lie and I could not ignore what it was telling me. However the carb cravings go away, you find good substitutes for favourites or just make your peace with not having them and everything gets much easier. My first blood test 3 months after being diagnosed had reduced from 87 to 35.
Now I am almost a year in and I have drug-free control. I am eating better and more enjoyably than I have done for many years, lost over 4 stone without counting a calorie and feeling so much healthier. So many other health niggles like indigestion, bloating and acid reflux, psoriasis, are just gone and my autoimmune related condition, Hydradenitis, is in remission. If someone waved a magic wand and made diabetes go away I would not resume ‘normal’ eating.
You will find a way that suits you, and quite possibly end up in a better state than previously - with the small proviso that it’s a lifelong task to maintain. But be reassured, you can still enjoy lots of delicious food!