Unhappy with my weight

I weighed myself after a few months of not doing it, plus I haven't been eating the way I know I should and I was curious. I'm ten pounds shy of my heaviest (175) and I never want to go back to that weight becaise of how I felt emotionally and physically. I also don't want to undo the progress that I worked so hard for. I gained 30lbs. in almost a 6 month span and that scares the shit out of me. I've tried to eat right ever since I moved in with my grandma in January, but it's been hard because I've had a lot of stress lately and I've been craving a lot of sugary things. What are some small things I can do to slowly begin weight loss again?