Please describe your pain in the bowel
Is it only after meals, or it continues for the whole day irrespective of time of meals.
Also , is your pain anal region is only after passing stool or it continues throughout day.
From the information you provided it seems that you have continuous pain which may be due intestinal worms or gastro-entritis.
Next Steps
start taking light meals.
high fibre diet
easily available probiotics
maintain local hygiene in peri anal region.
keep a watch on characteristics of pain to make a proper diagnosis.
consult if problem does not improve in 2 days.
Health Tips
a proper consultation and a few diagnostic test will give a complete information about your condition.
for now nothing seems to be worried of, or anything that requires urgent-emergency treatment.