Struggling to stop eating unhealthily


I live at home so I don't have much control about what foods are in the house, there are usually plenty of healthy stuff but my parents like to buy junk as well like chocolate bars and cake. I'm finding it really hard to resist eating the junk which hinders my weight loss, any suggestions to help?