Your improvement after stopping smoking, improving your diet, increasing water intake, and taking sitz baths is reassuring and suggests a likely irritable bowel syndrome (IBS) with a previous anal fissure due to constipation. OCD and stress tend to worsen IBS symptoms.
While there are no obvious immediate/ emergency medical conditions from your description, the history of alternating bowel habits, mucus in stool, and recurrent abdominal pain should be assessed by a gastroenterologist to confirm the diagnosis and exclude other conditions.
Next Steps
A) Arrange a non-urgent consultation with a senior gastroenterologist.
B) Continue your current lifestyle changes, avoid smoking, remain well hydrated, and gradually increase physical activity.
C)Your doctor may recommend basic blood tests and stool tests if symptoms persist or recur.
Health Tips
A) Continue the healthy changes that are helping.
B) Seek urgent medical attention if you develop persistent rectal bleeding, significant weight loss, fever, severe abdominal pain, persistent vomiting, or symptoms that progressively worsen despite treatment.