If you are adding to the existing RAM then the speed and latency need to be identical e.g. if your exiting ram is 1600Mhz and CAS 9-9-9-24 at 1.5v then ensure the memory you buy is the same, Having the same brand isn't essential but it will help compatibility. Sometimes it can be easier to remove all the existing ram and start again