What's the best way to lose weight , I'm a size 10 and 5'8 and I want to get in to a size 8 before summer?

Well I'm a size ten at the minute and have a 'curvy' body what ever that means lol ! But I wanna lose weight for Summer. I do go to the gym but it's just seemed to build my legs up. 😥😥😥
What's the best way to lose weight , I'm a size 10 and 5'8 and I want to get in to a size 8 before summer?
Post Opinion