As a scientist, I’m inclined to advise you to do the latter.
As a decent human being, however, mix baking soda with shampoo (preferably not the same shampoo as the one that caused this problem in the first place), wash normally, and rinse thoroughly. That should do the trick.