Help please

Can a breastfed baby get constipaded and have colic i have a baby that kept up all night