It's about unit mass. Build more units before you wage war,
Then you don't have to stop and go (giving them time to produce),
You just keep going.
There are some thumbrule numbers that depend on Difficulty level and Era (10 active units on Immortal, 15 on Deity, not considering late game). If you use siege, they probably should be doubled.
Scout first. Intel is king. Act accordingly.