Gain weight to get pregnant.

I have to gain about 15 pounds in order to have a healthy pregnancy. Has anyone else had to do this, if so how did you in a healthy way?