low iron and trouble gaining weight

I’ve always struggled to eat and finish my food, for example I’ll eat half a meal, feel full and then spend the whole day eating small snacks...I am 17, 5’0” and the last time I weighed myself I was 87 lbs...Recently, I woke up and stood up too fast that I passed out from low blood pressure it was 82/53 I believe I can’t remember since while they were taking it that was when I fainted...If anyone has any tips on how to eat healthier or gain weight I would really appreciate it!