What can I take for ear infection ?

I have had my share of ear infrctions, so I know that is what i have. I am 8 months pregnant an I just need to know if there is anything I can do before going to the Docter.