What RAM do you have? We need the specific RAM model. When you are using all 4 dimms on a Ryzen system you have to lower the memory clock speed in order to avoid stability and compatibility issues.
Here is the Ryzen memory support:
Dual-Channel/Dual-Rank/Four - DIMM 1866
Dual-Channel/Single-Rank/Four - DIMM 2133
Dual-Channel/Dual-Rank/Two - DIMM 2400
Dual-Channel/Single-Rank/Two - DIMM 2677
Even if you have high clock speed memory modules, I'm afraid you have to lower their clocks a lot in order to be able ti use all of them without issues.
EDIT. Also you should update the BIOS as Supahos said.