Hi welcome to Health care magic forum.
Thanks for asking a question to H.C.M.Forum.
The pain at the belly button signifies the worms in the intestine. getting to the sides may be due to urine infection, or abnormality in the ureter
, or stone in the ureter.
Only anti spasmodics will help only to relieve pain for a limited time only. You need to give her antibiotics or antelmenthics for cure of the causative factor.
I advise you to consult a pediatrician
for diagnosis and treatment.
Wishing for a quick and complete recovery.