Working out at the gym

I’m about to get a gym membership. Back in the day I use to walk on the treadmill and lift weights and I looked great and now I’ve really let myself go. I want to start doing that again. Does anyone have any tips or pointers of what you do in the gym? I’ll take any help I can get!!