R.K.
Is she bottle fed or breastfed. Is she only going small amounts of hard poops? If she just isn't going daily it doesn't mean she's constipated as long as her poop isn't hard. If she is breastfed its normal for to go sometimes a week or more w/o having a bm. If she is formula fed it maybe the brand you are using. Some are very high in iron and can lead to constipation.
Edit: I wouldn't give any type of medication or home treatment w/o first consulting with my pediatrician.