Hello and welcome to Healthcare Magic. Thanks for your query.
There is a connection between the ear and the throat and nose (through a tube called the Eustachian tube). Upper respiratory tract
infections or allergies can cause the Eustachian tube, or the membranes surrounding its opening to become swollen, trapping fluid. This can result in ear blocks or lead to even ear infections.
I would suggest that you try using decongestant nasal drops / spray, which can help relieve the ear block. However, since you are having severe cough
(indicative of a lower respiratory tract infection), I would advise you to see a doctor for a detailed evaluation and treatment.
Wish you all the best.
Dr. Sheeba Stephen
Emergency Medicine Specialist