Best way is to keep a food journal, with blood sugars too. And if you check 2 hours or so after you eat- you’ll see if your blood sugars have gone crazy high. If so, eat that food less frequent or avoid it completely!
If you do meal planning, it is common sense eating basically. Read labels too! Look at the total carbs (will include sugars etc etc). Definitely see a dietician, see if your doctors office offers it, does help a lot!