If you want to lose weight, you need to two things: eat less and exercise more. Weight gain happens when you create a calorie surplus (eat more than you burn). Your body takes the excess calories and converts them to fat which get stored around your stomach, arms and thighs. The longer you remain in a calorie surplus, the more weight you'll gain. To lose that weight, you need to do the opposite.