This can be due to several causes. Worm infestation, amebiasis
or before onset of diarrhea
etc. Depending on your place doctor will advise about medication after examination and investigation if needed. For the time being avoid spicy or oily food. Look at the color of his urine and inform doctor if there is any change.