Iron supplements

I’m having to take iron supplements due to the fact that I lost a ton of blood during birth but my son is getting super backed up and having a hard time pooping. I want to keep breast feeding but its causing him to hurt and be fussy