Hello,
If the thoughts are repetitive, not under your control, causing distress so much that its hampering your day to day life then you might have OCD. But if you can perceive the smell and no one in your surrounding can then it may be a perception problem.
Next Steps
Contact nearby Psychiatric clinic or You can contact me for further help.