It should be noted that putting medicine in the ear while fasting invalidates the fast. Therefore, one fast will have to be made up later (qaza).