Every gym has different equipment and machinery, but I always run on the treadmill for half an hour first.
It doesn't need to be too fast. Then you can press your legs or something.
If you don't know which part you want to exercise, you can ask the fitness instructor in the gym.