Thanks for writing to us.
The ear infection
can occur infants due to passage of milk,water etc,into ear.
The symptoms usually stops once the inflammation has relieved.
I would suggest you to take precaution like keeping cotton within ear while taking bath etc.
Always keep your child's ears dry.
Hope this helps out.