teething/ear infection?!?!

So usually my son is a great sleeper at night but he has been waking up all through the night & is acting like he is uncomfortable and this is during the day to for naps idk if he is teething or what but I am thinking about taking him to see his doctor I gave him some Tylenol to see if he can sleep a little better tonight. And also he hasn't been eating well for the past couple of days.