if prolonged constipation causes fecal impaction, a doctor may prescribe or recommend a suppository or enema to soften any stool present in your rectum. your doctor might even recommend a colonoscopy to look for possible blockages in your colon. if that's the case, you might need surgery to remove the blockage.