2 month baby constipated?

Brittany

Shes 2 months and hasnt pooped since yesterday and only pooped 3 times and hasnt pooped since. Last night between midnight and one after eating she threw up everything she ate so i gave her gripe water which is pretty much what ive been giving her and so far today shes ate fine and hasnt thrown it all up like last night but she hasnt pooped yet still any advice moms?:/ ive also rolled her legs in circles to her stomach too and shes a breastfed baby