Hi welcome to health care magic forum,
Earache is called external ottitis due to infection of external ear. Lymph
nodes around the ear are draining area of ear, so it tends to involve with infection.
In my opinion you can take a broad spectrum antibiotic and an antinflammatory drugs.
If drugs are not available over the counter than you can take paracetamol
500mg twice daily for one day. You can give a hot foamantation around the ear to relieve the pain temporarily.
You can visit an ENT specialist
at evening after school.
Hope this may help you to avoid skipping school.