tips for gym

hi, i am starting the gym today and i would like to lose weight. i know cardio and weights are important as well as the diet but any tips would be nice. also where do u guys buy ur workout gear? and does it matter what type of shoes i wear?