There are various stock coolers, depending on the model. The worst one is the Wraith Stealth, which you get with most of the Ryzen 3.
The next one is the Wraith Spire, which a similar (simple) design but a bigger block of metal.
After that comes the Wraith Prism/Max, which actually looks like a real cooler with heatpipes and block of copper.
What I would recommend is to always make a single upgrade for your cooler, if you perform any kind of demanding tasks. Upgrading from stock cooler to another stock cooler is really cheap, because they are found everywhere on the sh market.
I found the wraith prism for 15€ incl shipping, to put on my Ryzen 1600 which came with the Wraith Spire and the Spire will go to my system with the 2200g, which came with Wraith Stealth. The Wraith stealth will end up in my box of unused materials, giving me a spare ventilator and something to throw with if I am frustrated
Any Ryzen CPU that comes with a wraith prism is worthy of a third party cooler
(Gabe)