How not to gain too much I weight?

I'm only 10 weeks along and I've already gained 6 pounds. How do I stop the the rapid weight gain. I'm only supposed to gain 15 - 25 pounds during this pregnancy because I was slightly overweight before I got pregnant. Any thoughts?