Barrier cream should be applied during each diaper change or as directed by a healthcare provider. It is particularly beneficial for neonates who are at high risk of developing diaper rash, such as those with prolonged hospitalization or underlying medical conditions.