Has anyone else had a constipated baby?

I feel like the worst mom ever. My son is one and has been constipated tor a few weeks and as a single mom im sitting here in the bathroom feeling like a failure

The ped gave him meds and all but i am blaming myself completely idk why because i hate seeing him struggle

They told me its common but how common... my babes is on lactulose for now and ugh I just hate myself as a mom right now