Ear infection while pregnant.

Lyssa • Wife & Mommy to a big boy and baby girl 💕
I am currently 20 weeks pregnant and  have an ear infection. It happened over night and now I can't hear out of my right ear. My sister gave me some ear drops but im not sure if it is safe to take them they're called Neomycin & Polymyxin B Sulfates & Hydrocortisone Otic Suspension. Has anyone used this while pregnant?