how to gain weight?

i have a hard time gaining weight, i'm 5' 8", around 112 lbs, and i just have a really small appetite. i try to eat a lot but i'm still underweight. any tips?