How to avoid a spending blowout

Do you get buyer’s remorse after a spending blowout? Sometimes it can feel like there’s an devil on your shoulder convincing you to spend money..