I am sorry to hear about your baby,
It is impossible to comment on the cause of baby's pain without examination,
I would recommend that you get the child back to a pediatrician/ take a
second opinion.
It is safe to use cepodem in a 4 month child,
Warm regards