Do we have to buy RAM specified in the Memory support List (with the exact Part No) from the MB Manufacturer?

Or, just match the Type like DDR4, RAM Speed, will work?