Applying cold and/or hot compress orapplying ginger juice around the outer ear canal without putting it in the ear or having the above-mentioned sleeping posture are probably the safest routes to address ear infection at home without consulting the doctor.