Depending on your budget, you may benefit from small group or private training. Most gyms offer differing levels of training, mine offers the gym membership which includes full use of the facilities and large group classes, there are option small group classes, and personal training options.
I find that the small group classes are great for people who need accountability, someone to notice them showing up, and a sense of community. Large group classes also increase accountability as they have an actual start date to prevent you from sitting on your couch until the gym closes never having chosen a time to go. Personal training is a good way to get familiar with the gym, exercises that work for you, diet and nutrition tips, and reasonable goal-setting with a professional.