Scientists have now woken up and smelled the coffee declaring the drink to be the perfect hangover cure. They say three or four cups are best to get you feeling your best or at least functional after a heavy night. The reason, molecules found in ground coffee help to repair your liver.