Auto-translated
Here, the strategy differs for each faction, and there are several options. In general terms: on random maps, you should try to build creature dwellings, preferably a Stronghold and a Castle, during the first week. However, you should build them in such a way that by day 8, you can purchase a sufficient army to break through. During the 2nd and 3rd weeks, you complete the construction of creature dwellings, and then you can focus on building resource structures (you can also build resource structures during the 1st and 2nd weeks if they don't delay the construction of creature dwellings). That's the general idea. It also depends on how many heroes you have and how well you can manage them to clear the map.