It seems that you might be having infection of ingrown hair follicle in your nasal cavity
and boil might have formed.
It should be in septum giving rise pain in the middle.
Go for one antibiotic and anti-inflammatory medicine course after consulting your doctor.
Apply antibiotic cream in nasal cavity.
Ok and take care.