My baby is 10 days old and hasnt pooped for over 24 hours

Nastasia
Is it the formula? What can I do? Should I be worried?