My daughter also had this situation before when she was 7-8 mths old. I aslo worried about that very much.
But this situation cannot be solved immediately ( I mean in 1-2 day), need give BB drink lots of water/juice/soup/yogurt and eat more fruits/veg, then around 1 week, he can be back to normal.
So don't worry.