Need to gain more weight!

I'm almost 22 weeks and have barley gained 5 pounds, my OBGYN says I need to gain more weight! I understand why, and I want to gain the weight to keep my little girl healthy! Has anyone else had this problem? And does anyone have suggestions and gaining weight?