Thanks for your query.
I understand your concern.
Since you have not mentioned which medicine was prescribed to your baby it is difficult to comment.
I assume it to be some antibiotic given for ear infection
most probably amoxiciin.
Relax,there is nothing to worry.
Give her next dose on time.
Watch for any loose motion
Give her normal feeds.
If you notice any other symptom get her evaluated by doctor.
Wishing your baby good health.