Use a damp cloth to wipe the sweat stains off the hat. If the stain or the smell persists, prepare a solution with 1/4th cup hydrogen peroxide and warm water and use a soft brush to treat the stain spots.