Thanks for writing to H.C.M. for your query.
I have gone through your query regarding blockade of your both ear for last two months and now it became painful on swallowing.
Considering your problem it appears that your ears are blocked due to-
(b) Eustachian tube dysfunction
But the possibility of impacted wax is much higher, and it may be treated by softening the wax by puting wax softner drops followed by ear cleaning by succession or syringing.
In case of eustachian tube dysfunction which is having least possibility in your case, it can be treated with antibiotic, decongestant and steam inhalation.
Please get yourself examined by ENT specialist
for proper diagnosis and treatment.