I have been trying for many years

I am now at the point I must loss weight and eat healthy. My blood sugar is rising and the doctor want to add diabetic medication . I hope you will help me understand the Keto diet. I am only allowed 30 carbs 3x meals a day with 15 carbs two snacks. Can we keep in touch I need is dead and motivation. Thanks