Ram is sold in kits for a reason.
A motherboard must manage all the ram using the same specs of voltage, cas and speed.
Ram from the same vendor and part number can be made up of differing manufacturing components over time.
Some motherboards, particularly AMD can be very sensitive to this.
This is more difficult when more sticks are involved.
That is why ram vendors will NOT support ram that is not bought in one kit.
Most of the time, disparate ram will work, so if you have both, go ahead and try them together.
Test with memtest86. You should be able to do a full pass with NO errors.
If you have a problem, test each stick individually.
If both work singly, try adding a bit of extra ram voltage in the bios.
With a 4 and a 8 gb stick,(on an intel processor) the first 4gb will operate in dual channel mode, and the odd 4gb will be in single channel mode.