Thank you for your query.
Do not panic.
Your child may be suffering from an attack of acute gastritis
If she was allergic to the drug she should develop fixed drug rashes or have itching.
If you are afraid.Do not give that drug.Give paracetamol
Give her some antacid
syrup and start anti acid medications.
If she persists to have pain consult a specialist.If you have any further queries you are free to consult me.Hope this answers your query.Wishing your child a speedy recovery.Have a nice day.