hurts to poop

So for like the last 6 months maybe it has been hurting me to poop so fucking bad! It's very sharp pain basically and when I wipe there's blood from my butt hole and I don't know why . I don't have any visible hemroids or anything but please help because it hurts