A combination of the two will be best. Cardio help you to burn calories while you are exercising. While weight training boosts your metabolism that you continue to burn calories for as much as 48 hours after your weight training session are over.
If you want to lose weight, aim to get about 3 session of cardio in (interval training is best) and also 3 session of weight training.
Good luck with your fitness goals!