Ryzen processors are very sensitive to the RAM you are using.
Only use RAM that is on the Qualified Vendor List for the motherboard that you choose to use.
(see the manufacturers web site, under the support tab for the motherboard)
The faster the RAM the better.