Need help plz.. To gain muscles and loose fat

Any trainers here?? A gym to close to my house open and they don't have any trainers I would like to know what machine is best for me and my guy friend.. To loose belly fat but gain muscles. What program and diet is good? I'm vegetarian he's not! Need a good food plan and workout! If someone plz help us. Thanks so much. We are both new at using the weights