Hi, welcome to the ehealth forum and I am glad to help you.
You seem to be concerned by the clogging of both ears for the last 6-7 months.
There are a number of causes of an ear feeling blocked or muffled. One is negative middle ear pressure. This is caused by a malfunctioning Eustachian tube. The Eustachian tube connects the middle ear to the back of the nose. It opens and closes when we swallow or yawn, allowing the pressure to equalize between the middle ear and the outside world. When it does not work properly, negative pressure develops in the middle ear, making the ear feel blocked. Common causes for Eustachian tube problems include: Allergies, colds, sinus infections, barotraumas (injury to the ear from changes in atmospheric pressure).
As you have described, your doctor has prescribed some nasal spray like thing, it is quite possible that you might be suffering from allergic rhinitis which may be causing the clogging of ears.
You might prefer to continue the treatment and the follow up with your doctor as no definitive diagnosis can be made online.
Hope this helps. Take care.
Note: This post is not to emphasise final diagnosis as the same cannot be made online and is aimed just to provide medical information and no treatment suggested above be taken without face to face consultation with health care professional.