Any tips for the gym?

I am joining the gym next week for the first time I got some stomach fat should I make a diet or the gym will help it, and please give me some tips about the gym 😃
Any tips for the gym?
Post Opinion