Welcome to the forum
You want 16GB of DDR4 for modern games.
8GB DDR3 was ok up to ~2010, so if you want to play games from back then, it might work.
If you want expert help, you need to give our guys some basic info: Please follow these instructions:
If you're looking for advice, the best way to get it is by providing as much information as possible right from the start. This allows other readers the context they need to point you in the right direction. Here are some suggestions to improve your chances of getting solid answers: What should...
forums.pcgamer.com
Of particular interest are:
Exact make & model of your Power Supply;
Motherboard;
Case & cooling parts;
Graphics card;
Monitor model & Hz;
Resolution you're running at;
What graphic settings level have you enabled?
it never mentioned that it is ddr3 or ddr4
That's DDR4 if it's from last ~10 years. What game is it?