Im not gaining weight help

Im 19 years old and i have never being above 50kgs i have tried everything to put on weight but nothing is helping my doctor put me on the pill for more reason's than one but even that hasn't made me gain weight, what can i do 😭😭