You're making villagers, following a build order, and trying to fight. Somehow the other player reaches the next age first and arrives with twice your army.
Before learning another opening, check where your existing plan stops working. Idle production, money you cannot use, and late information are worth investigating before blaming your civilization.
Here are five checks for your next replay.
1. Was the Town Center actually working?
Thinking about making villagers and consistently making them are different things.
Check the opening, the first fight, and the minutes after you add another Town Center. Those are useful places to look for forgotten queues. Also distinguish accidental idle time from time spent researching an age or technology.
The official early-game guide starts with villager production, housing, and scouting for resources. Make those jobs a short mental loop: check production, check population space, check where new villagers should go.
You don't need to stare at the Town Center. You need to remember it while something more exciting is happening elsewhere.
2. Could you spend the resources you had?
Pause when your army feels too small. Look at the bank.
If you have plenty of wood but cannot afford the food units you want, the problem may be your resource allocation. More gathering doesn't help much if it's gathering the wrong thing for the next decision.
Before adding farms, buildings, or upgrades, ask what you are trying to afford. The official economy guide emphasizes building an economy around your military plan.
Try a simple note after the game: “Needed food, kept adding lumberjacks.” That is something you can fix next time.
3. Were your military buildings producing?
A stable cannot defend your base by itself.
Check whether your production buildings were working and whether their units had a useful rally point. If you had resources available while the buildings sat idle, try assigning a comfortable hotkey to those buildings.
If the buildings were already producing continuously, you may have needed another building. If you couldn't afford their queues, adding more buildings would have tied up resources without solving the shortage.
Follow the bottleneck instead of assuming every army problem needs another barracks.
4. Did you see the attack coming?
Watch the replay from your own perspective first. What did you actually know?
Then look at the opponent's side and identify the clue you missed: a production building, an exposed forward villager, or an army leaving their base.
Your practice goal could be as small as checking the opponent again after reaching Feudal Age. Useful scouting answers a question. “Are they making army?” is a better purpose than sending your scout somewhere and forgetting it.
The official scouting and defence lesson explains why understanding the map and resource locations matters for defending your economy.
5. Did your economy restart after the raid?
Surviving an attack is only half the recovery.
Look for villagers still garrisoned after the danger has passed, workers standing beside a finished building, and production you forgot while moving units. Before sending your army across the map, take a quick pass through your base.
An opponent doesn't have to kill every villager to hurt your economy. Keeping workers away from resources can be enough to leave you short at the next fight.
Pick one repair for the next three games
Don't try to correct all five problems at once.
Choose the one your replay showed most clearly. If production keeps stopping during fights, practise checking it before giving another army command. If resources pile up, spend a few games paying attention to the next unit or upgrade you need.
Compare the habit across several games, rather than judging the experiment only by wins. Your player stats can help you follow results over time, but the replay is where you find the mistake you can actually change.