go to a doctor and let him check what's wrong with it?

p.s. It's probably not an ear infection if it doesn't hurt like hell