How To Gain Weight ??

All my life I’ve been a “twig” according to some people . I use to be 105 then last year I gained weight ( I was 130 ) because I was on birth control but now that I’m not I lost all the weight and I’ve been trying to gain the weight but nothing’s working ...does anyone have any ideas ??