Welcome to the forums vs! Yeah, this is a really broad question...along with the cardio and dieting, lifting and getting enough protein are definitely important if you want to keep your lean muscle mass. I always prefer to lift before cardio just so I have all my energy and can use correct form.