Make and model motherboard?
What was the original memory module configuration?
You must refer to the motherboard's User Guide/Manual and probably the motherboard manufacturer's website to determine the applicable memory modules and the applicable configurations for the same.
For the most part, memory performance is best served with matched memory sticks purchased as a kit.