Follow the doctor's directions for using ear drops after the procedure. If infections recur, notify the doctor.
Additionally, the CDC offers the below tips for preventing ear infections:
get the flu and pneumonia vaccines
do not smoke and avoid exposure to second-hand smoke
gently dry ears after swimming
clean hands before touching the ears
avoid using pacifiers and bottles in kids