She probably has a middle ear infection
, and would need a visit to a pediatrician
or ENT specialist
to confirm that. She would need an antibiotic and a pain medication in case it turns out to be a ear infection.
If your child has been awake most of the night , it is probably some significant problem which needs to be addressed earlier than later, and the best place is the EMERGENCY ROOM.
would help to relieve the pain to a certain extent, but would not be able to take care of the cause of the pain, which is most likely a ear infection