Hair of the dog

Generated image of a man having a shot of whiskey in the morning
The idiom hair of the dog refers to an old folk remedy for rabies that included a hair of the dog that bit you in the potion. Today it refers to drinking alcohol the next day to cure a hangover.

You look terrible, you should have a hair of the dog that bit you.