Anal pain

Ok so I’m not sure what’s causing this, it’s almost like constipation pain, but I’ve pooped 3 times today, I have pains in the lower part of my sides, and in my bum area, that makes it very painful to sit, any of u ever had this? And what causes it??