Any tips on how to gain weight??

So a couple weeks ago I went to the doctor for some problems I was having. And I found out I was underweight, so my doctor told me some stuff to do and weigh myself regularly. So today I got the courage to step on the scale, Im 5’3 and 96 pounds. So i want to gain weight so I can get better I guess? So does anyone have any tips?