Being underweight, irrespective of your age, requires you to consume more calories than you burn to gain weight. The time of puberty is a chaotic time for a teenager's body. It would be best to talk to your doctor to ensure the causes of being underweight to proceed to the solutions for the same.