Ryzen is closely tied to ram.
Install your ram in the slots recommended by your motherboard manual.
The manual should have a diagram identifying A2 and B2 slots which are the usual recommended pair.
See that your motherboard bios is current.
Most bios updates will deal with stability and ram compatibility.
Is you ram all from the same matched kit, or did you buy two sticks of the same part number.
Ram must be matched to perform properly.
Run memtest86 or memtest86+
They boot from a usb stick and do not use windows.
You can download them here:
MemTest86 is the original self booting memory testing software for x86 and ARM computers. Supporting both BIOS and UEFI, with options to boot from USB.
www.memtest86.com
Memtest86+ is an advanced, free, open-source, stand-alone memory tester for 32- and 64-bit computers (UEFI & BIOS supported)
www.memtest.org
If you can run a full pass with NO errors, your ram should be ok.
Running several more passes will sometimes uncover an issue, but it takes more time.
Probably not worth it unless you really suspect a ram issue.
DDR4 ram faster than 2666 is technically overclocked ram.
To run at 3600 speed you need to implement the ryzen equivalent of XMP.
XMP ram has the speed and settings embedded in the ram itself and implementing xmp extracts that info and applies the settings to the motherboard ram configuration.
If settings do not work, a motherboard will find a setting closer to default that works and will restart.