The difficulty in swallowing and the ear pain
on the same side can be related. Please take proton pump
inhibitors for few days and if problem persists, you need proper evaluation. The cause can be a problem in pyriform sinus
(part just before the start of food pipe) which needs to be evaluated by indirect laryngoscopy
and if need be direct laryngoscopy/eosphagoscopy. Do consult ENT for that. The dysphagia in these conditions will be more to solids that liquids. Pain in ear can be because of some dental problem but dysphagia is unlikely. A problem in problem in base of tongue can give rise to similar problems, the procedures stated above can find out problem in this region also if any.