The key to losing weight is simply to keep your caloric levels below maintenance. You can do that via exercise and nutrition.
I'd recommend finding a TDEE (Total Daily Energy Expenditure) calculator via a Google search to find your daily recommended calorie levels. If your goal is to lose weight, you would want to eat fewer calories than your body needs and burns.
Depending on what your personal goals are, a well-balanced diet that incorporates all of your macronutrients (proteins, fats, and carbohydrates) and micronutrients (vitamins, minerals, etc.) and a balanced workout and exercise routine are going to help you lose weight. Exercise and physical activity will burn calories and eating more nutrient dense foods will keep your daily caloric intake levels low.