How to avoid baby getting ear infection during a cold ?

she has a runny nose no cough or anything but every time she gets a runny nose she gets a ear infection I’ve been suctioning her buggers out but is there anything else I can do id really like to avoid the doctors office at this time. tia 🙂