Always.
It saved me from a bad injury a couple of years ago. Was riding on a country road and got the front tire stuck in a rut unexpectedly. Lost control and fell over. The back of my head was the first thing to hit the pavement. Shook me up but no damage done. Didn't think twice about plopping down the money for a replacement helmet - easily worth the money!