It's important to know how you get type 2 in the first place. Especially since most of us have less muscle if we haven’t seen a gym.
Insulin resistance is a symptom, not the real cause.
Being overweight and not having enough muscle will bring back the high insulin resistance. So... hit the gym, do squats, and do 20-30 minutes of cardio 2-3 times a week, or more. Think like an athlete, progressively overload. Do more over time. How much do you lift? More than last time. How much cardio? More than last time.
Eat a high protein, high fiber diet. Watch your body weight and calories. Stay around your TDEE. If you gain a few pounds over time, diet them off over a few weeks.
You can raise your TDEE by doing more cardio, so you can often offset 400-800 extra calories a day with 30-60 minutes of cardio.
Hope this helps.