Baby constipated?

I been giving my baby purées these few days she’s 6 months already but she’s constipated and passing hard stools.. what should I do? Can I give her water already? Or should I give her less of the purée?