I wanted to buy a graphics card for my old laptop and I don't know which one is better (just for testing) and both have the same price AMD Ryzen TM 3 2200G with RadeonTM VegaTM graphics card
Or AMD Ryzen 3 3200G 4.2GHz AM4 6MB Cache Wraith Spire
Counter question, can you even replace the graphics card on your laptop?
And what you listed there are not graphics cards but processors. Pretty sure you can't change them on a laptop.
The two Ryzen products you listed are CPUs for desktop PCs with an integrated graphics unit.
You won't get this to work in a laptop.
You can't normally swap the graphics card from a laptop, there are models where you can but you have to disassemble the whole PC and it is not a normal gpu but one that is specially designed for laptops and they are only very rare so it would be It is better to buy a new laptop directly if yours is no longer performing well
First of all, the chance that you can change the GPU in your laptop is extremely slim, secondly, the matching cards are hardly available and extremely expensive. And thirdly, your suggestions are not graphics cards but CPUs, which you most likely can't change either.
In short, the best thing is to buy a new PC that you would have had for a long time (if you do it right)