If following a specific plan and counting macros then you should have them all in by the end of the day. Now, having said that, at least in my opinion, if youre, lets say, 1000 calories short. I don't think itd be optimal to eat those 1000 and then go to straight bed. Some may argue, some may not, but that's how I see it.
Main thing if your counting macros is to take what you allowed per day and just divide it up evenly through your meals and make sure those meals are spaced evenly apart.
And if one day you, for some reason, just cant get them all in, then no big deal. Start over again the next day. Don't sit there and stress. That's probably more counter productive than coming short on the macros lol.