The expression "better safe than sorry" means that it is better to be cautious and take precautions beforehand, even if it seems unnecessary, rather than regretting not doing so later. It can be used in any situation where there is potential risk or uncertainty, such as wearing a helmet while biking or checking that a door is locked before leaving the house. Essentially, it is a reminder to prioritize safety and prevention over the possibility of negative consequences.