Baby reacting to me taking ib profen

Is it common for babies to react to mother taking ib profen? I was trying to be safe and avoid all other cold meds. I’m wondering if he’s reacting to that or maybe just being constipated. He also has had just a few rough spots appear. Advice?