Resources can be obtained in several ways:

You have several production buildings in your county to gain resources. Upgrade the lumberjacks, quarries and iron mines to improve the production and storage.

Resources can also be purchased in the item shop or obtained by conquering different provinces. Through raiding enemy provinces or castles and taking missions, you may also be rewarded with resources.