What is the most effective way to lose weight?

I am 18 and I want to lose 30 pounds but I do not know what is the most effective way. I have started to exercise and I have tried to eat less. What is the most effective way to lose weight?