Just cant stop

sweety

Im 18. I used to be skinny, but for the past 6 months or so I've been really stressed out by school and personal life. Ive been feeling so depressed and realized that the only thing that actually made me happy was food. Ever since i just cant stop eating. I don't even enjoy my food as much as i used to, and most of the times I'm not even hungry, i just eat. But i just cant stop. I always feel like i need something to munch on or i lose it. And recently I've been getting stomachaches 24/7.

I cant start a diet now. I have to be in a good place and be positive about it but theres just too much going on and i cant start a diet, not now. What can i do? I gained about 9 kg during this time, and i wanna say i don't care but i really do, especially because almost every single one of my friend is super skinny (don't weight above 50 kg) and that what makes it even harder. I don't like my body and the fact all of my friends look like that makes it even harder.