Your hair may still smell bad after washing it because the shampoo you use may be ineffective in removing the bacteria and fungi on the scalp.