After respiratory infections, sometimes there is fluid collection in the middle ear and this leads to pain in the ear. As you have pain while you swallow, you could also be suffering from tonsil
infection as well as a block of Eustachian tube. You should try the Valsalva
procedure- blowing your nose hard with pinching your nostrils and this causes air entry into the blocked Eustachian tube
. Consult an ENT specialist
for examination and further management. Good luck.