There are many causes for foul smelling from nose such as atrophic rhinitis, chronic rhinosinusitis, fungal sinusitis, rhinolith etc. You need to undergo diagnostic nasal endoscopy and CT scan of paranasal sinuses to confirm the diagnosis.
Next Steps
Consult nearby ENT specialist for confirmation of diagnosis and appropriate treatment if required