The phrase "hair of the dog" refers to a drink of alcoholic beverage consumed to alleviate the symptoms of a hangover. This practice has been prevalent for centuries, with the first recorded instance dating back to the 16th century.
The rationale behind this remedy is that consuming a small amount of the same alcoholic beverage that caused the hangover can help reduce its severity. Its effectiveness, however, is debatable and lacks scientific support.