Address the root cause, maybe see a therapist. A lot of the time a craving for validation comes from a fundamental misattribution of worth. Try to objectively look at why you crave the validation, what are you getting from it. “What good are you seeking?” as a philosophy teacher would say. Once you find that you can distinguish if it’s coming from an unmet need that should be addressed, or just a character flaw that has to be overcome.