Thanks for placing your query here.
I can appreciate your concerns.
The boy seems to be having what is called "aquired torticollis
of child hood"most likely due to viral myositis
The lump below right ear appers to be inflammed lymph node & ear pain was referred pain
only (that means no ear pathology)
Please continue to monitor him as he should improve in the next few days.
in appropriate doses along with warm packs.
In case he develops giddiness,vomiting
,fever or swallowing difficulty or does not improve in 48 hrs or so , please see a doctor.
Hope I have answered your query.
If you have any further questions I will be happy to help.
Wish him speedy recovery.