Constipation

I’m having trouble going number 2 and when I do, it is so hard and I end up bleeding rectal every time. Any tips?