i don't know anything about your boyfriend. his medical history his habits medications etc. to be able to blindly offer treatment over the internet for his abdominal pain. while the pain could be related to gas distention from being constipated there can be numerous other considerations that can only be sorted out by a medical provider during an examination.
my boyfriend hasnt been able to poop nothin in 3 days and is having stomach pain