Answering the narrow version, because the broad one does not have a single answer. Training does two things here and only one of them is on the scale. It protects lean mass — which is the reason to do it — and it contributes modestly to the deficit, which is the reason people start and then quit when the arithmetic disappoints them. In a deep deficit, resistance work is the priority and high-volume cardio competes with recovery.
Ask again with the specifics and you will get a better answer than this one.