This infection occurs when fluid is trapped behind the eardrum, and parts of the middle ear become infected. This causes ear pain and sometimes a fever. Treatment for a middle ear infection ...