Fat burning workouts

I’m gonna start going to the gym what are some good workout for fat burning and muscle rebuilding