Should you be lifting your weights or do cardio first? Which order is the better combination?

Does it hurt to do cardio first, or will doing weights first kill your cardio gains? Or kill your gains overall?