I lost so much weight 😭

Okay so I’ve always been really skinny but then I started eating a lot more than usual and I gained weight and I was okay with it my thighs got bigger so did my ass and my hips where bigger, but I got sick and I wouldn’t really eat and I lost so much weight, I got stretch marks because of it :(

any tips on how to gain weight?