I have continuous sticky mucus leakage from the anus and anal discomfort. What to do?

How to stop continuous sticky mucus leakage from the anus and anal discomfort?