Underweight?

Ga

My doctor told me I was 20 pounds underweight for being 6 months pregnant. How can I gain weight ? Healthily. My ribs have never stuck out this far before.