Generally eat more proteins and fats and less stuff with outright sugar, including fructose. Get your carbs from pasta and such, and don’t overdo fruit juices. Eventually your body learns that you’d better grab some tuna and avocado instead of some insulin-spike inducing crap with high glycemic index. And stop eating about 4 hours before sleep or earlier, that’s pretty much it.