I suggest an evaluation with an ear, nose & throat specialist to start with, also known as an otolaryngologust.
You need an examination of your nasal passages and treatment for what is likely, some chronic inflammation
. Then, perhaps some counseling
to keep your habit from reoccuring. Good luck.