Answer:
I'll assume your referring to medieval Europe and go from there:
much of a nation's armies could be commoners or peasants conscripted into a king's or nobles armies, using whatever little they could get their hands on or buy as they had very little to their name, those luckier to have some fortune could afford to buy better gear and knights tended to be at the top in this aspect
some of the most commonly used weapons of the era were the Sword, the bow and the spear, the English were notorious for their longbows which could sometimes take years to truly master but were capable of piercing the full metal plate of knights and were capable of loosing 10 arrows a minute, the longbow was originally designed by the welsh. capable of firing at greater distance than the crossbow and at a faster rate English bowmen could decimate armies from a distance before they reached her armies,
Swords came in all shapes and sizes, anywhere from a shortsword which were usually probably only 2-3 ft long to a Scottish claymore, a 2 handed sword which could be sometimes almost up to 4.5 ft long though this was considered smaller then other weapons of the 2 handed variation, swords were used by footsoldiers and cavalry alike as they were so versatile but tended to be far more difficult to make than a spear.
Spears were also another weapon that came in all shapes and sizes but one of the most well known variations was the pike, which could range from 3 to 6 meters long and were used in formations as defensive soldiers ( a good example of the use of pikes comes further back in time by the Greeks who used pikes while in phalanx formations, forming an overlapping wall of spearheads ) but were incredibly easy to make so were most likely used by many peasant forces, spears could most likely range 3-4 ft long with a wood grip and an iron head ( as many weapons of the era were steel or iron forged )
Armor was the same when it came to social class, peasants could not afford the incredibly durable and imposing plate armor the knights were (well..it was until the crossbow and longbow came into use en masse) so most used leather armor or leather reinforced with metal plating (or vice versa if they could afford it) Chainmail was another common use of armor, Chainmail which was an armor designed of overlapping rings of metal, could stop most weapons from piercing the flesh and causing severe wounds (though blunt force could still hurt, such as that of the warhammer used by some societies, which was simply a hammer with a larger weighted head) which tended to be backed with cloth or other similar materials to lighten the impact of weapons, smaller arrows as well as some swords could pierce chainmail fairly well.
Crossbows were a simpler ranged weapon which involved a mechanically wound string which fired a bolt ( a smaller arrow ) which could pierce most armors of the day, this began the fall of the knight in shining armor, where bowmen could take years of proper training to master the art of archery, a crossbow took barely any, and as gunpowder started to make it's introduction on the field that brought an end to it