I'm trying to lose weight but I won't eat certain foods.

Great start! Just be sure the foods one won't eat are the fattening ones, such as foods with sugars or simple starches, and foods with a lot of unhealthy oils such as animal fats.