You must earn your carbohydrates, which means in simple terms you must earn your sugar.
If possible, try to know what you’re going to eat ahead of time. Do not wait into you are hungry to decide what you’re going to eat. When you do that you’re going to reach for the quickest thing and that quickest thing will always be a carbohydrate (sugar).