Ear infection or Teething: questions that NEED answers!

Ta'Rajee
My LO has a mild fever, and is pulling on his ear! I wonder if there is a way to tell if it's an ear infection or Teething. He had a doctor's visit last week and when I asked my pediatrician about it she said it could be teething, but this time he has a fever. Does/ has anyone had this experience? I hate when my baby is uncomfortable. 😔