pooping problems

recently ive been pooping with mucus (normal color poop), and sometimes theres days where i cant even poop and lately blood has been coming out as well. recently since two days ago ive pooped a deep green that looks to be leaking out of my poop. Whats going on? and no i havent eaten anything weird or out of the norm