Eat calories more
Eat more calories than you need from good healthy sources such as nuts, lean meats, healthy oils added to your foods.
In order to gain weight and not fat, you might need to challenge your muscles with exercise
and strength training
. You can calculate how many calories you need based on age, weight, and sex
at many online sites.