To sum up, you should keep your hair and scalp clean and free from any dirt or grim, along with trying the aforementioned home remedies. Your towels, hair brush, combs, and pillow cases should also be clean. But if you spot an infection along with the smell, then consult your dermatologist as soon as possible.