The short answer
If you only want the metal, larger bars and plain rounds cost the least per ounce. Government coins cost more, but every dealer knows them and they're the easiest to sell. Many stackers start with well-known coins and add bars and rounds as they learn.
What each one is
Government coins, like American Eagles, Canadian Maple Leafs and Britannias, are struck by national mints. They're legal tender with a face value, and the government stands behind their weight and purity.
Rounds look like coins but come from private mints. They have no face value; they're worth their metal.
Bars come mostly from private refiners, though a few national mints make them too. Like rounds, they're valued for their metal.
Which costs least
Bars and rounds from private mints usually carry a fraction of the premium of government coins, especially in silver. Size matters too: a bigger piece costs less per ounce, because making and selling a small piece takes nearly the same work as a large one. Fractional coins, like tenth-ounce gold, carry the highest premiums.
Stick with names people know
For most of your stack, buy products and brands that dealers everywhere recognize. The more unusual a piece is, the fewer buyers want it, and the lower the offer may be when you sell. Now and then a niche piece becomes collectible and sells for more, but that's luck, not a plan.
Avoiding fakes
Fakes are a real problem, from plated copies to gold bars with tungsten inside. Buy from established dealers who source straight from mints and test what they buy back. Well-known products from major mints now carry security features that are hard to copy. Be very wary of anything offered below spot, especially on Craigslist, Facebook Marketplace or at a pawn shop.
Storage and space
Bars stack the most compactly. Gold and platinum take up far less room than silver for the same value. Government coins in mint tubes or boxes stack well too, though the plastic takes up some space.
Reporting when you sell
In the US, dealers must report some large sales of certain products to the IRS. Many common products aren't on that list. A dealer can tell you whether what you're selling is.