Assuming your motherboard has four memory slots. Usually one memory module goes in the second slot from the CPU, and the other memory module goes in the fourth slot from the CPU.
If that doesn't work then try the first and third slots from the CPU instead.