I agree with @Juicyj
Whatever passes your lips at any time must be carb counted and bolused for.
Eg, say you ate your dinner and did your injection for it that injection will “cancel out” the carbs in that food only. If you then decided to have dessert or something to eat after that meal that...