Newborn constipation.

Brittany
Can anyone help me out! My one week old son is constipated and haven't had a bowel movement in three days. I've talked to the doctor she said it was because I was breastfeeding and giving him fomaula. He's started to get frustrated because he needs to go but can't go. Any suggestions ladies?