Just discovered i have Gestational diabetes..what do i do now to take care???

So by the ends of Dec i took my glucose test when i was like 27 weeks and i today i got a notice that i have GD at 32 weeks..thank god i asked yesterday for the results I thought I didn’t got a call back or something during all those weeks bcs i was good but yesterday i asked my ob out of curiosity & to make sure. She also didn’t knew bcs they lab didn’t sent her the results so today they called me and yea i guess i got very high number now they are sending me to something to deal with it ..im just worried bcs i been eating so many sugary stuff & bad foods all along with out knowing 😢😢 and i dont even wanna google nothing bcs ik just bad things are going to pop out. I was wondering What do u do if u have gd???How do u take care of yourself???is there anything to watch out for??? Am i gonna be considered high risk now??