Thanks for writing to health care magic.
It is ideal to exclusively breast feed the baby till 6 months. Nothing needs to be given other than breast feeding during this period. Not even water.
It is common for breast fed babies below six months of age to not to pass stool for 2 to 3 days. Nothing needs to be done and baby passes stools normally.
If there is perianal rash
then zinc containing creams could be used to protect the area. Harsh wiping with rough cloth should be avoided.
Exposing the area to air and avoiding nappies will help.
Hope this helps.