I never went to a gym. Did and still do the work on upper and lower body, stretches, strengthening, etc.
If you can , the gym is good.
I lost my weight and I am still controlling by doing what I learned.
Actually as long as the person is doing something and being active and stay with it...it helps.