It is not uncommon for a 5-month-old baby to go a few days without having a bowel movement. If your baby is otherwise healthy and eating/drinking normally, there may not be cause for concern. You can try encouraging your baby to drink more fluids and gently moving their legs in a bicycle motion to potentially stimulate bowel movements. It is suggested to consult with a healthcare professional if you have any further concerns.