Thanks for the query,
You might be suffering from a worm infestation of intestine.
Another possibility is mucus.
Get a stool test
This will confirm the diagnosis.
You can take a dose of albendazole
can appear even in worm infestation due to allergic reaction
Let me know if you have any other doubt.
you can ask a direct question to me on this forum, following the below link.
Wishing you good health,