welcome to HealthcareMagic
Usually slimy mucus comes in stools due to infection of intestine due to amoebiasis
or in case of drug induced diarrhoea
.Please consult a doctor and get examined ;after examination he may prescribe you antibiotic like metronidazole/tinidazole
in the required dose as the dose is dependent on weight of a person.Do not get scared but you need to consult and get treated.