if you can afford it go with ddr4 cas 14 3200 ram.
its timings will make it perform aswell as 3600+ ram cas 19 which is way more expensive.
if you cant get cas 14 ram cheap, go for cas 15-16 and lower the timings to 14 manually...
other than that make sure your buying single rank dims. (some ram is dual rank meaning there are chips on both sides of the ram pcb)
lastly if your using a ryzen+ cpu you can use most brands.