It seems like your son is having an intestinal worm infestation. It may be due to pinworm.
Please give him a single dose of deworming medicine like Albendazole
depending on his weight. The syrup or chewable tablet is available over the counter in most countries.
will only decrease the irritation but it does not treat the underlying cause.
I wish your son a speedy recovery.