Its better to have her examined by a doctor to rule out any underlying injury
to the eyes.
For pain just acetaminophen
will do in dose of 15mg/kg/dose, repeated every 6 hours for a day or two.
Till then you can continue with cold
Wish your daughter a speedy recovery.