Trying to lose weight

I'm trying to lose weight but I'm having trouble controlling myself and making sure I'm eating right but it's hard. I need to lose at least 25 pounds any suggestions on how I can gain self control and not eat junk food when it's around??