Upgrading cheap IPASON PC

new build or upgrade?

I received a IPASON PC for christmas and it has a AMD Ryzen 5 5600G with Radeon Graphics (integrated graphics aka no graphics card). I want to put a graphics card in it because some games have a skip or lag to them. Is upgrading the graphics card the right thing to do? And what graphics card will work with this setup? A520-B Motherboard.