Hard stools are a very common problem in the general population.
Please clarify what you mean by third stage ulcer.
Next Steps
If symptoms persist, there is pain while defecation or no response after increasing fiber intake then you might need to undergo a colonoscopy test where your large intestine is examined with a camera.
Health Tips
Take plenty of fiber in all your meals.