I just give my baby prune puree (Gerber baby food brand). Works well. When she got older (7-8 months), I also mixed the prune puree with plain yoghurt. Works even better. Haha
Have you start any solid food? Try avoid roots veg if constipation persist.