2 month poop??

Paige

my baby used to have good poops at least 3 or 4 times a day... this past week he only had 1 poop a day and now the past 2 days hes hardly pooped at all...hes breastfed. what can i do and when to take him to a doctor?