Help; TMI

Im sorry i dont want to sound gross or anything but its hurting me when i poop... like a lot the pain is onky when the poop is coming out once is out it still burn a little from the pain but it goes away anyone may know why ?