If you really have to then, try and match volts, timings and speed.
Volts are the key one really, as the mobo will run the all memory at the slowest speed of whichever kit it is, so if u can match the specs thats best.
Generally not the best idea to mix and match, but can be done if done properly