Thank you for your query,
Is there associated any fever
Is the child on any medication?
It seems a myositis
mostly of a viral in origin.
Required rest, plenty of oral fluids and analgesics if the pain is severe.His urine output and the colour to be monitored.
Consult your Pediatrician
for the assessment and appropriate management.
Hope I have answered your query.